extensions

extensions is a command for Claude Code from Everyone-Needs-A-Copilot/claude-copilot. It costs 0 tokens per session (1,177 once invoked), scanned A, original, MIT.

A command that reports the configured knowledge sources, reusable skills, and active agent extensions. It checks the real configured paths and resolves the available extensions without changing files.

In plain words
What is it for?
Inspecting knowledge repositories, listing skills, resolving extensions, and checking whether configured resources are present.
Why use it?
It shows which shared resources are actually available, avoiding assumptions based on stale or unrelated configuration files.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Part of the claude-copilot plugin — 72 skills, 17 commands, 17 agents, 4 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/everyone-needs-a-copilot/claude-copilot/extensions
Clone the repo
git clone --depth 1 https://github.com/Everyone-Needs-A-Copilot/claude-copilot

Made for: Claude Code.

Or install claude-copilot, the plugin that ships this one along with the rest of its 72 skills, 17 commands, 17 agents, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for extensions

README.md
[![agentmods](https://agentmods.dev/badge/commands/everyone-needs-a-copilot/claude-copilot/extensions.svg)](https://agentmods.dev/commands/everyone-needs-a-copilot/claude-copilot/extensions)
Your own site
<a href="https://agentmods.dev/commands/everyone-needs-a-copilot/claude-copilot/extensions"><img src="https://agentmods.dev/badge/commands/everyone-needs-a-copilot/claude-copilot/extensions.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,177 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01177
Opus 5 $0.00000 $0.00589
Sonnet 5 $0.00000 $0.00235
Haiku 4.5 $0.00000 $0.00118

Measured today against content hash 376ded50f1c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

extensions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/extensions.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Extensions Status

Show the configured Knowledge ladder, reusable skills, and active agent extensions. Do not create or modify files.

1. Inspect the real Knowledge ladder

The only authoritative inputs are paths.knowledge_repo and the ordered CC_KNOWLEDGE_REPOS value from cc env (personal → department → organization → foundation). Do not inspect ~/.claude/knowledge/knowledge-manifest.json or ./knowledge-manifest.json unless that path is actually in the ladder.

eval "$(cc env)"
echo "${CC_KNOWLEDGE_REPOS:-}"
echo "${CC_KNOWLEDGE_REPOS:-}" | tr ',' '\n' | while IFS= read -r repo; do
  [[ -z "$repo" ]] && continue
  if [[ -f "$repo/knowledge-manifest.json" ]]; then
    name="$(python3 -c "import json,sys; print(json.load(open(sys.argv[1])).get('name','?'))" "$repo/knowledge-manifest.json" 2>/dev/null)"
    echo "FOUND: $repo (name: $name)"
  else
    echo "MISSING: $repo"
  fi
done

Store each tier's position, path, manifest name, and found/missing state. The tr/while form is portable across bash and zsh.

2. Resolve skills and extensions

cc skill list
cc extensions resolve --all --json

Use the returned JSON as source truth. For every agent it supplies agent, action, matched, type, file, source_repo, description, requiredSkills, missingSkills, and warning. Resolution is nearest-first: the first tier declaring an agent wins; otherwise the base agent runs unchanged.

Interpret action without inventing state:

  • apply: the declared extension is usable; show its type and source tier.
  • fallback_use_base: no usable extension was selected; the base agent runs.
  • fallback_use_base_with_warning: the base agent runs, and the returned warning must be shown.
  • fallback_fail: show the returned warning as a blocking configuration error. Do not claim the agent can run.
  • no_extension: no tier declares that agent; this is a healthy base-agent state.

requiredSkills and missingSkills are evidence, not suggestions. When skills are missing, list their exact names beside the affected agent. Do not scan directories or recompute whether a requirement is satisfied; the resolver already applied the same contract used during agent invocation.

Read the full file on GitHub · 109 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 109 lines · 0 tokens per session scan A 376ded50f1c2

Subscribe to this mod's changes

extensions is a command published in the GitHub repository Everyone-Needs-A-Copilot/claude-copilot (13 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,177 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other commands, from other repositories

go

You are the Project Kickstart agent. Your job is simple: find PRDs, validate them, and execute the full implementation pipeline.

samibs/skillfoundry · 0 tokens

analytics

/analytics Show full analytics dashboard /analytics top Top 10 most-used agents /analytics failures Show agents with highest failure rates /analytics timeline Show invocation timeline (last 7 days) /analytics agent Show stats for a specific agent /analytics trends Show improving vs degrading agents over time…

samibs/skillfoundry · 0 tokens

explain

/explain Explain the last agent action (quick mode) /explain --verbose Full trace with file changes and decision rationale /explain --story STORY-XXX All actions for a story in chronological order /explain --agent Last action by a specific agent /explain --session All actions from a specific session /explain --diff…

samibs/skillfoundry · 0 tokens

feature

Role: Per-feature quality pipeline that takes a story or feature description from zero to a committed, documented, tested, and evaluated implementation. No stage is skipped. No commit happens without the evaluator's approval.

samibs/skillfoundry · 0 tokens

security-scanner

Security scanner specialized in detecting AI-generated code vulnerabilities using comprehensive anti-pattern databases. You are methodical, thorough, and uncompromising -- every vulnerability is documented, traced, and given a concrete fix.

samibs/skillfoundry · 0 tokens

swarm

You are the Swarm Coordination Manager: a disciplined parallel execution engine that decomposes work into independent units, dispatches them to isolated workers, monitors progress, detects conflicts, and aggregates results into a coherent whole. You turn serial bottlenecks into parallel throughput — safely.

samibs/skillfoundry · 0 tokens