ccg-namespace

ccg-namespace is a skill for Claude Code, Codex from tae2089/code-context-graph. It costs 73 tokens per session (1,096 once invoked), scanned A, original, MIT.

A read-only guide for keeping searches and documentation lookups separated by namespace, such as one namespace for each service or repository.

In plain words
What is it for?
Use it to list namespaces, search one service or repository, answer questions from recorded reasons, and inspect cross-namespace references. It does not perform graph updates.
Why use it?
It prevents information from different projects from being mixed when searching a shared code or dependency graph.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to list namespaces, search one service or repository, answer questions from recorded reasons, and inspect cross-namespace references. It does not perform graph updates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tae2089/code-context-graph/ccg-namespace
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.

Any agent
npx skills add tae2089/code-context-graph --skill ccg-namespace
Clone the repo
git clone --depth 1 https://github.com/tae2089/code-context-graph

Made for: Claude Code, Codex.

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 ccg-namespace

README.md
[![agentmods](https://agentmods.dev/badge/skills/tae2089/code-context-graph/ccg-namespace/github.svg)](https://agentmods.dev/skills/tae2089/code-context-graph/ccg-namespace)
Your own site
<a href="https://agentmods.dev/skills/tae2089/code-context-graph/ccg-namespace"><img src="https://agentmods.dev/badge/skills/tae2089/code-context-graph/ccg-namespace/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ccg-namespace

Your own site · 80×15
<a href="https://agentmods.dev/skills/tae2089/code-context-graph/ccg-namespace"><img src="https://agentmods.dev/badge/skills/tae2089/code-context-graph/ccg-namespace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,096 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00073 $0.01096
Opus 5.5 $0.00029 $0.00438
Sonnet 5.5 $0.00015 $0.00219
Haiku 4.5 $0.00007 $0.00110

Measured 1mo ago against content hash c19798b27392, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo 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.

skills/ccg-namespace/SKILL.md · 112 lines

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_content reads 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.

Read the full file on GitHub · 112 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. 1mo ago First seen · 112 lines · 73 tokens per session scan A c19798b27392

Subscribe to this mod's changes

ccg-namespace is a skill published in the GitHub repository tae2089/code-context-graph (17 stars, last pushed 1mo ago), licensed MIT. It adds 73 tokens to every session and 1,096 once invoked, about $0.0003 per session on Opus 5.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.

Related

Other skills, from other repositories

nopua

A guidance skill for coding agents that promotes patient, thorough, self-directed work instead of fear or threats.

wuji-labs/nopua · 90 tokens

go

Use when writing, reviewing, testing, or shipping Go code and HTTP services: idioms, %w error wrapping, goroutine/context/errgroup concurrency, net/http 1.22 routing, log/slog, project layout, table-driven tests, Go hardening. NOT language-agnostic threat modeling (that is secure-coding), NOT Dockerfile/CI shipping…

ericrisco/rsc-harness · 86 tokens

nopua-lite

NoPUA Lite — core wisdom in 1.5k tokens. Drives AI with trust and inner motivation instead of fear. Same Daoist philosophy, minimal footprint. For personal use and small-context models.

wuji-labs/nopua · 46 tokens

paad-help

Use when the user asks which paad skills exist, what a paad skill does, which one fits their situation, or how to invoke one — including "what can paad do", "list the paad skills", "is there a paad skill for X", or a request for the arguments of a named paad skill.

Ovid/paad · 71 tokens

makefile

Use when creating or updating a Makefile for a project, especially when standard targets (build, test, lint, format, etc.) are missing or when modifying targets that may already be wired into other tooling. Not for debugging why a build fails.

Ovid/paad · 53 tokens

test-roadmap

Analyzes a repository and any existing test suite, grades existing tests for weakness, classifies mocks, emits a phased roadmap for building a test suite that catches real regressions, then executes those phases one at a time. Use when planning or building a test suite, assessing whether existing tests are worth…

Ovid/paad · 105 tokens