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.
npx agentmods add skills/tae2089/code-context-graph/ccg-namespacenpx skills add tae2089/code-context-graph --skill ccg-namespacegit clone --depth 1 https://github.com/tae2089/code-context-graphWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00073 | $0.01096 |
| Opus 5 | $0.00036 | $0.00548 |
| Sonnet 5 | $0.00015 | $0.00219 |
| Haiku 4.5 | $0.00007 | $0.00110 |
Grade A, and why
ccg-namespace 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 2d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ccg-namespace — Graph Namespace Isolation
Use namespaces to isolate graph rows for different services or repositories. This skill reads existing namespace state and never writes it.
Core Pattern
ccg search --namespace payment "checkout"
ccg status --namespace users
Through MCP:
list_namespaces()
search(namespace: "payment", query: "checkout")
search(namespace: "payment", query: "why does checkout retry a failed capture")
list_namespaces reports every namespace holding graph data with its node
count — the first call before interpreting any namespace-scoped result. Both
search query shapes work namespace-scoped: keywords and plain-language
questions answered from recorded reasons.
Write Boundary
Do not plan or execute a namespace build, update, migration, postprocess, or
scoped replacement from this skill. A request that needs one of those operations
is not enough to invoke ccg-build: report that the user must explicitly name
ccg-build in the current request.
Operational Guidance
- Use one namespace per service or repository when graph state must remain isolated.
- Use the default namespace for ordinary single-repository local work.
- Pass the same namespace consistently to search, docs, and analysis tools.
- Namespace deletion and file upload are not MCP capabilities.
- A graph namespace does not generate or copy Markdown files. Generate and place docs separately before expecting namespace-scoped
get_doc_contentreads to succeed.
Federation Boundaries
Only search, query_graph, and list_graph_stats accept namespaces: [].
Treat get_node, get_annotation, get_doc_content,
list_flows, and list_cross_refs as single-namespace operations.
A federated search labels every hit with its namespace, and candidates with
no visible evidence are cut before the page is bounded, so a namespace's files
are hits it can justify rather than padding.
limit and offset are per namespace here, not shared across them. limit: 5
over three namespaces means up to five files from each, and every namespace
with a hit appears however small the limit is — a limit below the namespace
count no longer silences the ones at the back. truncated counts the files
left off across all of them, and annotation_coverage adds up across all of
them too — one fraction over every namespace searched, not one namespace's. Page with the offset the response's next gives
you: it moves every namespace through its own list at once, so it is not this
page's offset plus the file count you were handed.
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.
- 2d ago First seen · 112 lines · 73 tokens per session scan A c19798b27392
ccg-namespace is a skill published in the GitHub repository tae2089/code-context-graph (17 stars, last pushed 11d ago), licensed MIT. It adds 73 tokens to every session and 1,096 once invoked, about $0.0004 per session on Opus 5. 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-08-30.
Other skills, from other repositories
go-idioms
写 Go 时使用。地道 Go:错误处理、并发、接口的正确姿势。.
migrate-goldmark-extension-v1-to-v2
Migrate goldmark extension from goldmark v1 to v2.
use-modern-go
Use the Modern Go Guidelines CLI whenever writing, modifying, fixing, or refactoring Go code. Apply its version-specific guidance to generated changes.
sq-actions-dependabot
Reviews and merges Dependabot pull requests for GitHub Actions (the github-actions ecosystem) that bump uses: pins in .github/workflows/. Use for Dependabot githubactions PRs (branches like dependabot/githubactions/...), not go.mod or site/ Bun PRs.
readme-generate
從原始碼分析自動生成雙語 README。當使用者請求為專案建立 README、需要從程式碼庫生成 README.md(英文)和 README.zh.md(中文)、或希望為其函式庫/套件建立一致的多語言文件時使用。.
go
Use for Go changes in Neva: authoring, refactoring, debugging, or review.