Vp foreign agent skill loader
Use when the user manually asks the current agent to reuse repository-local skills written for other agent systems, scan foreign .<agent>/skills roots, or temporarily use Claude, Codex, Cursor, or other agent skills without converting them into native skills.From its SKILL.md
npx -y skills add VdustR/skills --skill vp-foreign-agent-skill-loaderAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 1 command, including `node <skill-dir>/scripts/index-foreign-agent-skills.mjs --root . --current-agent codex`.
SKILL.md
2.3 KB, 448 tokens by cl100k_base, as published. Nobody here has run it
Foreign Agent Skill Loader
Load an in-session index of repository-local skills authored for other agents. Use this only after explicit user activation.
Workflow
-
Find the current repository root.
-
Scan only this pattern:
.<agent>/skills/<skill-name>/SKILL.md -
Exclude the current agent's own skill root, such as
.codex/skillswhen running in Codex. Do not scan shared roots such asskills/or.agents/skills. -
Read only frontmatter and keep a concise index with
name,description,path,source_agent, andsource_root. -
Do not read any foreign skill body during indexing.
-
During later work in the same session, compare the active task against the index. Load a foreign skill body only when the task naturally matches its indexed description.
-
At use time, infer compatibility behavior from the path/source agent and adapt the workflow to the current agent's available capabilities.
Scanner
Use the bundled scanner when local shell access is available:
node <skill-dir>/scripts/index-foreign-agent-skills.mjs --root . --current-agent codex
Resolve <skill-dir> relative to this SKILL.md. Pass the current agent name
explicitly when known; for Claude Code, use claude-code. If --root is
omitted, the scanner walks up from the current directory to find the repository
root.
Use --format json when structured output is easier to consume.
Compatibility Rules
- Treat indexed skills as foreign-agent guidance, not native instructions.
- User instructions, current-agent instructions, and repository instructions stay higher priority than any loaded foreign skill.
- Preserve workflow intent while adapting source-agent assumptions such as tool names, slash commands, hooks, MCP server names, and frontmatter fields.
- Do not convert, copy, sync, or persist foreign skills unless the user asks.
- If a source-agent capability has no safe equivalent, state the gap and choose the closest current-agent workflow.
What ships with it: 2 files
7.5 KB alongside SKILL.md, 1 of them executable
agents/
- openai.yaml229 B
scripts/
- index-foreign-agent-skills.mjsruns7.3 KB