Install
$ agentstack add skill-tae2089-code-context-graph-ccg-workspace ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README — it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
code-context-graph — Namespace File Management
Manage namespace file directories for uploading, organizing, and deleting source files. Designed for MSA environments where each namespace represents a service. The skill name remains ccg-workspace as a legacy alias.
MCP Tools (6)
| Tool | Description | |------|-------------| | upload_file | Upload a single file to namespace (base64 encoded content) | | upload_files | Upload multiple files to namespaces in a single call (JSON array) | | list_namespaces | List all namespaces | | list_workspaces | Deprecated alias for list_namespaces | | list_files | List files in a namespace | | delete_file | Delete a single file from namespace | | delete_namespace | Delete an entire namespace and all its files | | delete_workspace | Deprecated alias for delete_namespace |
Namespace Directory Structure
{namespace-root}/
├── payment-svc/
│ ├── handler.go
│ └── service.go
├── user-svc/
│ ├── auth.go
│ └── profile.go
└── gateway/
└── router.go
- Canonical root flag is
--namespace-root(default:workspaces);--workspace-rootremains a deprecated alias - Each namespace maps to a service/module directory:
{namespace}/{file} - File content is uploaded as base64-encoded strings
Usage Examples
Upload a single file
→ upload_file(namespace: "payment-svc", file_path: "handler.go", content: "")
Bulk upload multiple files
→ upload_files(files: '[{"namespace":"payment-svc","file_path":"handler.go","content":""},{"namespace":"payment-svc","file_path":"service.go","content":""}]')
Note: files parameter is a JSON string containing an array of file entries.
List all namespaces
→ list_namespaces()
→ Returns: ["payment-svc", "user-svc", "gateway"]
List files in a namespace
→ list_files(namespace: "payment-svc")
→ Returns: ["handler.go", "service.go"]
Delete a file
→ delete_file(namespace: "payment-svc", file_path: "handler.go")
Delete entire namespace
→ delete_namespace(namespace: "payment-svc")
→ Removes payment-svc/ directory and all files within
E2E Pipeline: Upload → Build → Search
After uploading files, build the graph and search:
1. upload_file(namespace: "payment-svc", file_path: "handler.go", content: "")
2. build_or_update_graph(path: "{namespace-root}/payment-svc") — see /ccg skill
3. search(query: "payment") — see /ccg skill
E2E Pipeline: Upload Docs → RAG Index → Search → Read
Upload documentation files to a namespace directory, then build and query the RAG index:
1. upload_file(namespace: "my-service", file_path: "docs/internal/handler.go.md", content: "")
2. build_rag_index(namespace: "my-service") — see /ccg-docs skill
3. search_docs(query: "handler", namespace: "my-service")
4. get_rag_tree(namespace: "my-service")
5. get_doc_content(namespace: "my-service", file_path: "docs/internal/handler.go.md")
Security
- Path traversal attacks are blocked (
../in namespace or file_path) - File size is validated before writing
- Namespace names are sanitized
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: tae2089
- Source: tae2089/code-context-graph
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.