Skip to main content

fetch_remote_skill_dirs

Function
This function is defined in the remote module.
Fetch all remote skill sources and return validated cache directories.

Signature

Parameters

Any
required
Iterable of URL strings, {"url","ref"} dicts, or objects implementing fetch(cache_dir).
Optional[Path]
Override cache root (defaults to the shared remote cache).

Returns

List[Path]
Existing local directories holding fetched skills. Directories with no valid skill are dropped. Failures are logged and skipped, never raised.

Uses

  • get_remote_cache_root
  • root.mkdir
  • impl.fetch
  • Path
  • p.exists
  • p.is_dir
  • logger.warning

Used By

Source

View on GitHub

praisonaiagents/skills/remote.py at line 182

Skills Concept

Skills Feature