Skip to main content

Skill and agent recommendation system for Claude Code — knowledge graph, wiki, and intake quality gates

Project description

ctx — Skill, Agent, MCP & Harness Catalog

License: MIT Python 3.11+ PyPI Tests Graph Docs

Watches what you develop, walks a 104,079-node graph across 92,815 skills, 464 agents, 10,787 MCP servers, and 13 cataloged harnesses, then recommends the highest-value skills, agents, and MCP servers for the current task. Custom/API/local model users get separate harness recommendations during ctx-init or ctx-harness-install. The shipped wiki includes 90,846 Skills.sh entries, 89,461 hydrated installable SKILL.md bodies, install commands, duplicate hints, and semantic graph edges. You approve what loads, installs, or gets adopted.

2026-04-29 updates.

  • Added the curated find-skills workflow, backed by the canonical upstream install command npx skills add https://github.com/vercel-labs/skills --skill find-skills.
  • Shipped 90,846 Skills.sh entries as first-class remote-cataloged skill nodes inside graph/wiki-graph.tar.gz and as graph/skills-sh-catalog.json.gz.
  • Added 13 cataloged harnesses, including LangGraph, CrewAI, AutoGen, Google ADK, Semantic Kernel, Mastra, Pydantic AI, Haystack, OpenAI Agents SDK, LiteLLM, Langfuse, AgentOps, and text-to-cad.
  • Added security/cyber review warnings to entity update reviews and documented the graph/wiki update procedure.

2026-04-27 updates.

Why it exists

  • Discovery — with 92K+ skill nodes, 460+ agents, 10K+ MCP servers, and 13 cataloged harnesses, you can't possibly know which exist or which apply to your current work.
  • Context budget — loading everything wastes tokens and degrades quality. You need the right 10–15 per session.
  • Skill rot — skills you installed months ago and never used are cluttering context. Stale ones should be flagged automatically.

Install

pip install claude-ctx
ctx-init                    # terminal wizard: hooks, graph, model, harness goal
ctx-init --wizard           # force the same wizard from scripts/tests
ctx-init --model-mode skip  # non-interactive setup for automation
ctx-init --model-mode custom --model openai/gpt-5.5 --goal "build a CAD agent"

Optional extras: pip install "claude-ctx[embeddings]" for the semantic backend, pip install "claude-ctx[dev]" for the test toolchain.

Pre-built knowledge graph (optional)

A pre-built knowledge graph of 104,079 nodes and 2,960,215 edges ships as a tarball. The same tarball includes external-catalogs/skills-sh/catalog.json, 90,846 remote-cataloged Skills.sh skill pages under entities/skills/skills-sh-*.md, 89,461 hydrated installable Skills.sh SKILL.md files under converted/skills-sh-*/, and 13 cataloged harness pages under entities/harnesses/. Extract to get a ready-to-use ~/.claude/skill-wiki/:

# after `git clone` — or download graph/wiki-graph.tar.gz from the GitHub release
mkdir -p ~/.claude/skill-wiki
tar xzf graph/wiki-graph.tar.gz -C ~/.claude/skill-wiki/

Windows / Git-Bash / MSYS: pass --force-local so tar doesn't read the c: in the path as a remote host: tar --force-local xzf graph/wiki-graph.tar.gz -C ~/.claude/skill-wiki/. Linux/macOS users can ignore.

Use

After install, the ctx hooks integrate automatically with Claude Code's PostToolUse + Stop events. Typical flow:

ctx-scan-repo --repo .     # scan current repo and stack signals
ctx-scan-repo --repo . --recommend  # include skill/agent/MCP recommendations
ctx-agent-add --agent-path ./code-reviewer.md --name code-reviewer
ctx-harness-add --repo https://github.com/earthtojake/text-to-cad --tag cad
ctx-harness-install text-to-cad --dry-run   # inspect before cloning/running anything
ctx-harness-install text-to-cad --update --dry-run
ctx-harness-install text-to-cad --uninstall --dry-run
ctx-skill-quality list     # four-signal quality score for every skill
ctx-skill-quality explain python-patterns   # drill into a single skill
ctx-skill-health dashboard # structural health + drift detection
ctx-toolbox run --event pre-commit          # run a council on the current diff
ctx-monitor serve          # local dashboard: http://127.0.0.1:8765/

The ctx-monitor dashboard shows currently loaded skills, agents, MCP servers, and installed harness records. It provides load/unload buttons where ctx owns the live action, a cytoscape graph view (/graph?slug=…), the LLM-wiki entity browser (/wiki/<slug>), a filterable skills grid, a session timeline, an audit log viewer, and a live SSE event stream. Harnesses are visible in the dashboard loaded/wiki/graph views; harness install/update/uninstall actions stay in ctx-harness-install.

When ctx-skill-add, ctx-agent-add, ctx-mcp-add, or ctx-harness-add finds an existing entity, ctx prints a benefits/risks update review and skips replacement by default. Re-run with --update-existing to apply the catalog or local asset update after review.

Step-by-step entity onboarding: https://stevesolun.github.io/ctx/entity-onboarding/

Full docs, architecture, and every module: https://stevesolun.github.io/ctx/

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_ctx-0.7.2.tar.gz (479.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_ctx-0.7.2-py3-none-any.whl (549.1 kB view details)

Uploaded Python 3

File details

Details for the file claude_ctx-0.7.2.tar.gz.

File metadata

  • Download URL: claude_ctx-0.7.2.tar.gz
  • Upload date:
  • Size: 479.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for claude_ctx-0.7.2.tar.gz
Algorithm Hash digest
SHA256 f8342ea3be2bb4ca57e28dfab393adf321bb8e63e614d7b7708fe1c8d66a7bea
MD5 d4742e0f930d60a774b7610f6f70594e
BLAKE2b-256 d5b434e9d6eb4acfa001e40765d625faf21da298f4f03b636f32ec017535261f

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_ctx-0.7.2.tar.gz:

Publisher: publish.yml on stevesolun/ctx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file claude_ctx-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: claude_ctx-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 549.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for claude_ctx-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 357d037dbddf19b8e3855eae45d477389bae6d3b07f64ac63786a6be08a2ff35
MD5 ef5218b1c2ff003291abcfd0dcf80b1d
BLAKE2b-256 4922b1b826703ff9d99db55015077e890d9e362ed575447ef2012c1a8f2d8df5

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_ctx-0.7.2-py3-none-any.whl:

Publisher: publish.yml on stevesolun/ctx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page