Stevesolun commited on
Commit
4022e96
·
verified ·
1 Parent(s): e18385d

Add files using upload-large-folder tool

Browse files
graph/README.md CHANGED
@@ -4,13 +4,13 @@ This directory ships the pre-built ctx LLM-wiki and knowledge graph.
4
 
5
  Current snapshot:
6
 
7
- - **102,696 graph nodes**
8
- - **2,900,834 graph edges**
9
  - **52 Louvain communities**
10
- - **91,432 skill entity pages**: 1,969 curated/imported skills plus 89,463 body-backed Skills.sh skills
11
- - **464 agent pages**
12
  - **10,787 MCP server pages**
13
- - **13 harness pages**
14
  - **89,463 hydrated Skills.sh `SKILL.md` bodies**
15
  - **28,612 long Skills.sh bodies converted through the micro-skill gate**
16
 
@@ -23,7 +23,7 @@ The runtime recommendation paths use this graph in two ways:
23
 
24
  | File | Contents |
25
  |---|---|
26
- | `wiki-graph-runtime.tar.gz` | Fast install artifact used by default `ctx-init --graph`: `graphify-out/*`, the external Skills.sh catalog, 13 harness pages, wiki index files, and Obsidian metadata needed for recommendations and harness dry-runs without expanding every entity page |
27
  | `wiki-graph.tar.gz` | Full LLM-wiki: entity pages, converted skill bodies, mirrored agent bodies, concept pages, `graphify-out/graph.json`, `graph-delta.json`, export manifest, communities, external catalogs, and Obsidian metadata |
28
  | `skills-sh-catalog.json.gz` | Compressed Skills.sh catalog for the 89,463 body-backed entries shipped in the wiki |
29
  | `communities.json` | Current Louvain community export |
@@ -64,10 +64,10 @@ want local wiki browsing, Obsidian, or the converted skill body tree.
64
  - `SCHEMA.md`, `index.md`, `log.md`, `catalog.md` - wiki contract and indexes
65
  - `.obsidian/` - vault metadata for local graph browsing
66
 
67
- `SKILL.md.original` backups and transient `.lock` files are not shipped. Local
68
- micro-skill conversion may keep `.original` files for traceability, but the
69
- packaged tarball excludes them so users do not ingest raw long bodies after
70
- conversion.
71
 
72
  ## Extract
73
 
@@ -109,17 +109,17 @@ For release-count validation, pin the exact snapshot numbers:
109
 
110
  ```bash
111
  python src/validate_graph_artifacts.py --deep \
112
- --expected-nodes 102696 \
113
- --expected-edges 2900834 \
114
- --expected-semantic-edges 1682825 \
115
- --expected-harness-nodes 13 \
116
  --expected-skills-sh-nodes 89463 \
117
  --expected-skills-sh-catalog-entries 89463 \
118
  --expected-skills-sh-converted 89463 \
119
- --expected-skill-pages 91432 \
120
- --expected-agent-pages 464 \
121
  --expected-mcp-pages 10787 \
122
- --expected-harness-pages 13
123
  ```
124
 
125
  Manual sanity checks:
@@ -129,6 +129,7 @@ tar -tzf graph/wiki-graph.tar.gz | grep 'graphify-out/graph.json'
129
  tar -tzf graph/wiki-graph.tar.gz | grep 'external-catalogs/skills-sh/catalog.json'
130
  tar -tzf graph/wiki-graph.tar.gz | grep 'SKILL.md.original' && exit 1 || true
131
  tar -tzf graph/wiki-graph.tar.gz | grep '\.lock$' && exit 1 || true
 
132
  ```
133
 
134
  Windows PowerShell equivalent for the exclusion checks:
@@ -136,6 +137,7 @@ Windows PowerShell equivalent for the exclusion checks:
136
  ```powershell
137
  tar -tzf graph/wiki-graph.tar.gz | Select-String 'SKILL.md.original'
138
  tar -tzf graph/wiki-graph.tar.gz | Select-String '\.lock$'
 
139
  ```
140
 
141
  The PowerShell commands should print nothing.
@@ -145,11 +147,75 @@ The PowerShell commands should print nothing.
145
  After adding or updating skills, agents, MCP servers, or harnesses:
146
 
147
  ```bash
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  ctx-wiki-graphify
149
  python src/validate_graph_artifacts.py --deep
150
  python src/update_repo_stats.py --check
151
  ```
152
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  For a Skills.sh catalog/body refresh, update the existing shipped tarball
154
  through the release refresh path:
155
 
@@ -173,6 +239,7 @@ tar --force-local -czf /path/to/ctx/graph/wiki-graph.tar.gz.staged \
173
  --exclude='./.embedding-cache' \
174
  --exclude='./.ingest-checkpoint' \
175
  --exclude='./.enrich-checkpoint' \
 
176
  --exclude='./graphify-out/graph.pickle' \
177
  --exclude='*.original' \
178
  --exclude='*.lock' \
@@ -189,7 +256,8 @@ gets a sibling `*.promotion.json` file with current, candidate, and `last_good`
189
  hashes for review or rollback. The graph, delta, communities, report, and
190
  export manifest are shipped together and carry the same export ID so validation
191
  can reject mixed or partially refreshed graph generations. Raw `.original`
192
- backups and transient `.lock` files must not appear in the shipped tarball.
 
193
 
194
  ## Implementation Notes
195
 
 
4
 
5
  Current snapshot:
6
 
7
+ - **102,718 graph nodes**
8
+ - **2,911,220 graph edges**
9
  - **52 Louvain communities**
10
+ - **91,450 skill entity pages**: 1,987 curated/imported skills plus 89,463 body-backed Skills.sh skills
11
+ - **467 agent pages**
12
  - **10,787 MCP server pages**
13
+ - **14 harness pages**
14
  - **89,463 hydrated Skills.sh `SKILL.md` bodies**
15
  - **28,612 long Skills.sh bodies converted through the micro-skill gate**
16
 
 
23
 
24
  | File | Contents |
25
  |---|---|
26
+ | `wiki-graph-runtime.tar.gz` | Fast install artifact used by default `ctx-init --graph`: `graphify-out/*`, the external Skills.sh catalog, 14 harness pages, wiki index files, and Obsidian metadata needed for recommendations and harness dry-runs without expanding every entity page |
27
  | `wiki-graph.tar.gz` | Full LLM-wiki: entity pages, converted skill bodies, mirrored agent bodies, concept pages, `graphify-out/graph.json`, `graph-delta.json`, export manifest, communities, external catalogs, and Obsidian metadata |
28
  | `skills-sh-catalog.json.gz` | Compressed Skills.sh catalog for the 89,463 body-backed entries shipped in the wiki |
29
  | `communities.json` | Current Louvain community export |
 
64
  - `SCHEMA.md`, `index.md`, `log.md`, `catalog.md` - wiki contract and indexes
65
  - `.obsidian/` - vault metadata for local graph browsing
66
 
67
+ `SKILL.md.original` backups, transient `.lock` files, and `.ctx/` queue state
68
+ are not shipped. Local micro-skill conversion may keep `.original` files for
69
+ traceability, but the packaged tarball excludes them so users do not ingest raw
70
+ long bodies after conversion.
71
 
72
  ## Extract
73
 
 
109
 
110
  ```bash
111
  python src/validate_graph_artifacts.py --deep \
112
+ --expected-nodes 102718 \
113
+ --expected-edges 2911220 \
114
+ --expected-semantic-edges 1683265 \
115
+ --expected-harness-nodes 14 \
116
  --expected-skills-sh-nodes 89463 \
117
  --expected-skills-sh-catalog-entries 89463 \
118
  --expected-skills-sh-converted 89463 \
119
+ --expected-skill-pages 91450 \
120
+ --expected-agent-pages 467 \
121
  --expected-mcp-pages 10787 \
122
+ --expected-harness-pages 14
123
  ```
124
 
125
  Manual sanity checks:
 
129
  tar -tzf graph/wiki-graph.tar.gz | grep 'external-catalogs/skills-sh/catalog.json'
130
  tar -tzf graph/wiki-graph.tar.gz | grep 'SKILL.md.original' && exit 1 || true
131
  tar -tzf graph/wiki-graph.tar.gz | grep '\.lock$' && exit 1 || true
132
+ tar -tzf graph/wiki-graph.tar.gz | grep '^\./\.ctx/' && exit 1 || true
133
  ```
134
 
135
  Windows PowerShell equivalent for the exclusion checks:
 
137
  ```powershell
138
  tar -tzf graph/wiki-graph.tar.gz | Select-String 'SKILL.md.original'
139
  tar -tzf graph/wiki-graph.tar.gz | Select-String '\.lock$'
140
+ tar -tzf graph/wiki-graph.tar.gz | Select-String '^\./\.ctx/'
141
  ```
142
 
143
  The PowerShell commands should print nothing.
 
147
  After adding or updating skills, agents, MCP servers, or harnesses:
148
 
149
  ```bash
150
+ ctx-wiki-worker --wiki ~/.claude/skill-wiki --limit 1
151
+ ctx-scan-repo --repo . --recommend
152
+ ```
153
+
154
+ The worker path is the fast local update path. It validates the queued entity
155
+ page, updates the wiki index, and attempts incremental ANN attach into
156
+ `graphify-out/entity-overlays.jsonl` when the semantic vector index exists. It
157
+ also queues the normal incremental graph export job, so a full rebuild remains
158
+ the reconciliation path for release artifacts.
159
+
160
+ If the worker reports that incremental attach was skipped because no vector
161
+ index exists, build the exact portable index:
162
+
163
+ ```bash
164
+ ctx-wiki-graphify \
165
+ --wiki-dir ~/.claude/skill-wiki \
166
+ --incremental \
167
+ --graph-only \
168
+ --semantic-vector-index numpy-flat
169
+ ```
170
+
171
+ Then drain pending queue work again:
172
+
173
+ ```bash
174
+ ctx-wiki-worker --wiki ~/.claude/skill-wiki
175
+ ```
176
+
177
+ Before promoting an ANN backend or changed thresholds, run the shadow gate:
178
+
179
+ ```bash
180
+ ctx-incremental-shadow \
181
+ --index-dir ~/.claude/skill-wiki/.embedding-cache/graph/vector-index \
182
+ --graph ~/.claude/skill-wiki/graphify-out/graph.json \
183
+ --sample-size 100 \
184
+ --min-overlap 0.85
185
+ ```
186
+
187
+ It reports precision/recall, top-k agreement, score deltas, and bad examples;
188
+ the release gate fails when recall at the largest requested top-k is below the
189
+ overlap floor.
190
+
191
+ For release artifact rebuilds:
192
+
193
+ ```bash
194
+ python scripts/graph_artifact_guard.py park
195
  ctx-wiki-graphify
196
  python src/validate_graph_artifacts.py --deep
197
  python src/update_repo_stats.py --check
198
  ```
199
 
200
+ `park` sets Git's local `skip-worktree` bit for the heavyweight generated
201
+ archives: `graph/wiki-graph.tar.gz`, `graph/wiki-graph-runtime.tar.gz`, and
202
+ `graph/skills-sh-catalog.json.gz`. Keep them parked while graph/wiki generation,
203
+ validation, dashboard smoke, and stats checks are still in progress. This
204
+ prevents background Git integrations from repeatedly staging hundreds of
205
+ megabytes through the Git LFS clean filter. When the release candidate is final,
206
+ unpark and stage the artifacts exactly once:
207
+
208
+ ```bash
209
+ python scripts/graph_artifact_guard.py unpark
210
+ git add graph/wiki-graph.tar.gz graph/wiki-graph-runtime.tar.gz graph/skills-sh-catalog.json.gz
211
+ python scripts/graph_artifact_guard.py prune
212
+ ```
213
+
214
+ If a local Git integration gets interrupted while artifacts are dirty,
215
+ `python scripts/graph_artifact_guard.py prune` removes unreachable local Git
216
+ objects and prunable local LFS cache entries. It does not delete tracked graph
217
+ files, rewrite history, or change the remote LFS store.
218
+
219
  For a Skills.sh catalog/body refresh, update the existing shipped tarball
220
  through the release refresh path:
221
 
 
239
  --exclude='./.embedding-cache' \
240
  --exclude='./.ingest-checkpoint' \
241
  --exclude='./.enrich-checkpoint' \
242
+ --exclude='./.ctx' \
243
  --exclude='./graphify-out/graph.pickle' \
244
  --exclude='*.original' \
245
  --exclude='*.lock' \
 
256
  hashes for review or rollback. The graph, delta, communities, report, and
257
  export manifest are shipped together and carry the same export ID so validation
258
  can reject mixed or partially refreshed graph generations. Raw `.original`
259
+ backups, transient `.lock` files, and `.ctx/` queue state must not appear in
260
+ the shipped tarball.
261
 
262
  ## Implementation Notes
263
 
graph/communities.json CHANGED
@@ -30626,7 +30626,12 @@
30626
  "skill:wordpress-theme-development",
30627
  "skill:wrike-automation",
30628
  "skill:writing-plans",
30629
- "skill:zapier-make-patterns"
 
 
 
 
 
30630
  ]
30631
  },
30632
  "16": {
@@ -39625,6 +39630,7 @@
39625
  "skill:awareness-stage-mapper",
39626
  "skill:azure-ai-translation-text-py",
39627
  "skill:beautiful-prose",
 
39628
  "skill:brand-guidelines",
39629
  "skill:brand-voice",
39630
  "skill:code-documentation-code-explain",
@@ -55710,7 +55716,17 @@
55710
  "skill:vscode-extension-guide-en",
55711
  "skill:web3-testing",
55712
  "skill:zod-validation-expert",
55713
- "skill:zustand-store-ts"
 
 
 
 
 
 
 
 
 
 
55714
  ]
55715
  },
55716
  "27": {
@@ -69650,7 +69666,8 @@
69650
  "skill:tmux",
69651
  "skill:using-git-worktrees",
69652
  "skill:version-bump",
69653
- "skill:wiki-changelog"
 
69654
  ]
69655
  },
69656
  "34": {
@@ -77828,7 +77845,13 @@
77828
  "skill:designdotmd-y2k-chrome",
77829
  "skill:designdotmd-yacht-club",
77830
  "skill:designdotmd-zed-dev",
77831
- "skill:designdotmd-zine-risograph"
 
 
 
 
 
 
77832
  ]
77833
  },
77834
  "43": {
@@ -102957,5 +102980,6 @@
102957
  }
102958
  },
102959
  "total_communities": 52,
102960
- "generated": "2026-05-04T15:59:21+00:00"
 
102961
  }
 
30626
  "skill:wordpress-theme-development",
30627
  "skill:wrike-automation",
30628
  "skill:writing-plans",
30629
+ "skill:zapier-make-patterns",
30630
+ "skill:lat-md-knowledge-graph",
30631
+ "harness:optillm",
30632
+ "skill:mattpocock-review",
30633
+ "skill:mattpocock-setup-matt-pocock-skills",
30634
+ "skill:mattpocock-triage"
30635
  ]
30636
  },
30637
  "16": {
 
39630
  "skill:awareness-stage-mapper",
39631
  "skill:azure-ai-translation-text-py",
39632
  "skill:beautiful-prose",
39633
+ "skill:book-to-skill",
39634
  "skill:brand-guidelines",
39635
  "skill:brand-voice",
39636
  "skill:code-documentation-code-explain",
 
55716
  "skill:vscode-extension-guide-en",
55717
  "skill:web3-testing",
55718
  "skill:zod-validation-expert",
55719
+ "skill:zustand-store-ts",
55720
+ "skill:julius-caveman-caveman-stats",
55721
+ "agent:julius-caveman-cavecrew-builder",
55722
+ "agent:julius-caveman-cavecrew-investigator",
55723
+ "skill:mattpocock-diagnose",
55724
+ "skill:mattpocock-grill-with-docs",
55725
+ "skill:mattpocock-handoff",
55726
+ "skill:mattpocock-prototype",
55727
+ "skill:mattpocock-writing-beats",
55728
+ "skill:mattpocock-writing-fragments",
55729
+ "skill:mattpocock-writing-shape"
55730
  ]
55731
  },
55732
  "27": {
 
69666
  "skill:tmux",
69667
  "skill:using-git-worktrees",
69668
  "skill:version-bump",
69669
+ "skill:wiki-changelog",
69670
+ "mcp-server:gitnexus"
69671
  ]
69672
  },
69673
  "34": {
 
77845
  "skill:designdotmd-y2k-chrome",
77846
  "skill:designdotmd-yacht-club",
77847
  "skill:designdotmd-zed-dev",
77848
+ "skill:designdotmd-zine-risograph",
77849
+ "skill:agents-md-protocol",
77850
+ "skill:julius-caveman-cavecrew",
77851
+ "skill:julius-caveman-caveman",
77852
+ "skill:julius-caveman-caveman-commit",
77853
+ "skill:julius-caveman-caveman-review",
77854
+ "agent:julius-caveman-cavecrew-reviewer"
77855
  ]
77856
  },
77857
  "43": {
 
102980
  }
102981
  },
102982
  "total_communities": 52,
102983
+ "generated": "20260513T150939Z",
102984
+ "export_id": "ctx-graph-overlay-20260513T150939Z-102718-2911220"
102985
  }
graph/entity-overlays.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"overlay_id":"manual-mirage-codegraph-20260514","source":"codex/mirage-codegraph-entities","nodes":[{"id":"harness:mirage","label":"mirage","type":"harness","tags":["harness","virtual-filesystem","sandbox","agent-tools","fuse","python","typescript","claude-code","codex","openai-agents","langchain"],"quality_score":0.82,"quality_grade":"A","direct_targets":["skill:codex-review","skill:everything-claude-code","skill:claude-code-expert","skill:claude-code-guide","harness:openai-agents-sdk","skill:langchain-architecture","skill:llm-application-dev-langchain-agent","harness:pydantic-ai","skill:pydantic-ai","harness:mastra","harness:text-to-cad","mcp-server:github","mcp-server:slack","mcp-server:s3","mcp-server:google-drive","mcp-server:linear","mcp-server:notion"],"source_keys":["https://github.com/strukto-ai/mirage"]},{"id":"mcp-server:codegraph","label":"codegraph","type":"mcp-server","tags":["mcp-server","code-intelligence","knowledge-graph","semantic-search","impact-analysis","tree-sitter","surrealdb","hnsw","lsp","rust"],"quality_score":0.6708,"quality_grade":"B","direct_targets":["skill:codegraph-agentic-codebase-analysis","agent:code-reviewer","agent:architect","agent:architecture-reviewer","skill:code-review-checklist","skill:code-review-excellence","skill:mattpocock-request-refactor-plan","skill:code-refactoring-refactor-clean","skill:codebase-cleanup-refactor-clean"],"source_keys":["https://github.com/Jakedismo/codegraph-rust"]},{"id":"skill:codegraph-agentic-codebase-analysis","label":"codegraph-agentic-codebase-analysis","type":"skill","tags":["code-intelligence","knowledge-graph","semantic-search","impact-analysis","tree-sitter","surrealdb","hnsw","lsp","rust","architecture-analysis","refactoring","code-review","agentic-coding"],"quality_score":0.76,"quality_grade":"B","direct_targets":["mcp-server:codegraph","agent:code-reviewer","agent:architect","agent:architecture-reviewer","skill:code-review-checklist","skill:code-review-excellence","skill:mattpocock-request-refactor-plan","skill:code-refactoring-refactor-clean","skill:codebase-cleanup-refactor-clean"],"source_keys":["https://github.com/Jakedismo/codegraph-rust"]}],"edges":[{"source":"harness:mirage","target":"skill:codex-review","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":1,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"skill:everything-claude-code","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":2,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"skill:claude-code-expert","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":3,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"skill:claude-code-guide","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":4,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"harness:openai-agents-sdk","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":5,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"skill:langchain-architecture","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":6,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"skill:llm-application-dev-langchain-agent","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":7,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"harness:pydantic-ai","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":8,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"skill:pydantic-ai","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":9,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"harness:mastra","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":10,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"harness:text-to-cad","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":11,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"mcp-server:github","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":12,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"mcp-server:slack","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":13,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"mcp-server:s3","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":14,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"mcp-server:google-drive","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":15,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"mcp-server:linear","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":16,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"mcp-server:notion","semantic_sim":0.0,"tag_sim":0.4,"token_sim":0.0,"final_weight":0.18,"weight":0.18,"shared_tags":["harness","agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.18,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":17,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"mcp-server:codegraph","target":"skill:codegraph-agentic-codebase-analysis","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.2,"weight":0.2,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.2,"method":"manual_direct_overlay_v1","candidates_considered":9,"rank":1,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"mcp-server:codegraph","target":"agent:code-reviewer","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.16,"weight":0.16,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.16,"method":"manual_direct_overlay_v1","candidates_considered":9,"rank":2,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"mcp-server:codegraph","target":"agent:architect","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.16,"weight":0.16,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.16,"method":"manual_direct_overlay_v1","candidates_considered":9,"rank":3,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"mcp-server:codegraph","target":"agent:architecture-reviewer","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.16,"weight":0.16,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.16,"method":"manual_direct_overlay_v1","candidates_considered":9,"rank":4,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"mcp-server:codegraph","target":"skill:code-review-checklist","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.16,"weight":0.16,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.16,"method":"manual_direct_overlay_v1","candidates_considered":9,"rank":5,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"mcp-server:codegraph","target":"skill:code-review-excellence","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.16,"weight":0.16,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.16,"method":"manual_direct_overlay_v1","candidates_considered":9,"rank":6,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"mcp-server:codegraph","target":"skill:mattpocock-request-refactor-plan","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.16,"weight":0.16,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.16,"method":"manual_direct_overlay_v1","candidates_considered":9,"rank":7,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"mcp-server:codegraph","target":"skill:code-refactoring-refactor-clean","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.16,"weight":0.16,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.16,"method":"manual_direct_overlay_v1","candidates_considered":9,"rank":8,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"mcp-server:codegraph","target":"skill:codebase-cleanup-refactor-clean","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.16,"weight":0.16,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.16,"method":"manual_direct_overlay_v1","candidates_considered":9,"rank":9,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"skill:codegraph-agentic-codebase-analysis","target":"agent:code-reviewer","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.17,"weight":0.17,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.17,"method":"manual_direct_overlay_v1","candidates_considered":8,"rank":1,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"skill:codegraph-agentic-codebase-analysis","target":"agent:architect","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.17,"weight":0.17,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.17,"method":"manual_direct_overlay_v1","candidates_considered":8,"rank":2,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"skill:codegraph-agentic-codebase-analysis","target":"agent:architecture-reviewer","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.17,"weight":0.17,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.17,"method":"manual_direct_overlay_v1","candidates_considered":8,"rank":3,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"skill:codegraph-agentic-codebase-analysis","target":"skill:code-review-checklist","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.17,"weight":0.17,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.17,"method":"manual_direct_overlay_v1","candidates_considered":8,"rank":4,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"skill:codegraph-agentic-codebase-analysis","target":"skill:code-review-excellence","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.17,"weight":0.17,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.17,"method":"manual_direct_overlay_v1","candidates_considered":8,"rank":5,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"skill:codegraph-agentic-codebase-analysis","target":"skill:mattpocock-request-refactor-plan","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.17,"weight":0.17,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.17,"method":"manual_direct_overlay_v1","candidates_considered":8,"rank":6,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"skill:codegraph-agentic-codebase-analysis","target":"skill:code-refactoring-refactor-clean","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.17,"weight":0.17,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.17,"method":"manual_direct_overlay_v1","candidates_considered":8,"rank":7,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"skill:codegraph-agentic-codebase-analysis","target":"skill:codebase-cleanup-refactor-clean","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.17,"weight":0.17,"shared_tags":["code-intelligence"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.17,"method":"manual_direct_overlay_v1","candidates_considered":8,"rank":8,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"mcp-server:codegraph","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.12,"weight":0.12,"shared_tags":["agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.12,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":18,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"},{"source":"harness:mirage","target":"skill:codegraph-agentic-codebase-analysis","semantic_sim":0.0,"tag_sim":0.2,"token_sim":0.0,"final_weight":0.1,"weight":0.1,"shared_tags":["agent-tools"],"shared_tokens":[],"direct_link":true,"type":"related_to","similarity_score":0.1,"method":"manual_direct_overlay_v1","candidates_considered":19,"rank":19,"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1"}],"created_at":"2026-05-14T00:00:00Z","provenance":"manual_overlay_v1","method":"manual_direct_overlay_v1","edge_policy":"Curated direct links for newly onboarded entities; semantic ANN edges are added by a separate indexed attach path.","candidates_considered":36}
graph/sample-top60.html CHANGED
The diff for this file is too large to render. See raw diff
 
graph/viz-ai-agents.html CHANGED
The diff for this file is too large to render. See raw diff
 
graph/viz-overview.html CHANGED
The diff for this file is too large to render. See raw diff
 
graph/viz-python.html CHANGED
The diff for this file is too large to render. See raw diff
 
graph/viz-security.html CHANGED
The diff for this file is too large to render. See raw diff
 
imported-skills/academic-research-skills/ATTRIBUTION.md ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Academic Research Skills Attribution
2
+
3
+ - Upstream: https://github.com/Imbad0202/academic-research-skills
4
+ - Revision: `153203d129b1d0e83dd65ab96340048257cd45b2`
5
+ - License: CC BY-NC 4.0
6
+ - Import mode: metadata-only
7
+
8
+ Full-body import is blocked for ctx's shipped MIT graph/wiki artifacts unless
9
+ explicit compatible permission is recorded. Do not copy upstream skill bodies,
10
+ agent prompts, references, templates, examples, or command files into ctx
11
+ without updating the source registry with a permission reference.
imported-skills/academic-research-skills/MANIFEST.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "upstream": "https://github.com/Imbad0202/academic-research-skills",
3
+ "upstream_revision": "153203d129b1d0e83dd65ab96340048257cd45b2",
4
+ "license": "CC BY-NC 4.0",
5
+ "namespace": "academic-research-skills",
6
+ "import_mode": "metadata-only",
7
+ "permission_required_for_full_body": true,
8
+ "total": 0,
9
+ "metadata_records": 1,
10
+ "blocked_full_body_entries": {
11
+ "skills": 4,
12
+ "agents": 40,
13
+ "commands": 10
14
+ }
15
+ }
imported-skills/academic-research-skills/README.md ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Academic Research Skills Metadata Import
2
+
3
+ This source contains a full Claude Code academic-research suite, but its
4
+ license is Creative Commons Attribution-NonCommercial 4.0. ctx therefore keeps
5
+ only metadata and an explicit import gate.
6
+
7
+ Observed upstream inventory at the recorded revision:
8
+
9
+ - 4 top-level skills: `academic-paper`, `academic-paper-reviewer`,
10
+ `academic-pipeline`, `deep-research`
11
+ - 40 agent markdown files
12
+ - 10 slash-command files
13
+
14
+ Useful patterns to reimplement independently later:
15
+
16
+ - human-in-the-loop research stages,
17
+ - integrity gates before and after review,
18
+ - citation and claim verification,
19
+ - data-access-level metadata,
20
+ - multi-reviewer plus devil's-advocate review,
21
+ - reproducibility and material-passport records.
22
+
23
+ Do not ship upstream bodies until permission is recorded.
imported-skills/academic-research-skills/UPSTREAM_REVISION ADDED
@@ -0,0 +1 @@
 
 
1
+ 153203d129b1d0e83dd65ab96340048257cd45b2
imported-skills/academic-research-skills/metadata.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source": "academic-research-skills",
3
+ "upstream": "https://github.com/Imbad0202/academic-research-skills",
4
+ "upstream_revision": "153203d129b1d0e83dd65ab96340048257cd45b2",
5
+ "license": "CC BY-NC 4.0",
6
+ "import_mode": "metadata-only",
7
+ "full_body_import": "blocked-without-explicit-permission",
8
+ "inventory": {
9
+ "skills": [
10
+ "academic-paper",
11
+ "academic-paper-reviewer",
12
+ "academic-pipeline",
13
+ "deep-research"
14
+ ],
15
+ "agents": 40,
16
+ "commands": [
17
+ "ars-abstract",
18
+ "ars-citation-check",
19
+ "ars-disclosure",
20
+ "ars-format-convert",
21
+ "ars-full",
22
+ "ars-lit-review",
23
+ "ars-outline",
24
+ "ars-plan",
25
+ "ars-revision",
26
+ "ars-revision-coach"
27
+ ]
28
+ },
29
+ "independent_reimplementation_patterns": [
30
+ "human-in-the-loop academic research workflow",
31
+ "integrity gates before and after review",
32
+ "citation and claim verification",
33
+ "data-access-level metadata",
34
+ "multi-reviewer plus devil's-advocate review",
35
+ "reproducibility and material-passport records"
36
+ ]
37
+ }
imported-skills/agents-md/ATTRIBUTION.md ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # AGENTS.md Attribution
2
+
3
+ - Upstream: https://github.com/agentsmd/agents.md
4
+ - Revision: `d1ac7f063d20e70015ed6732664049ae4ba9d74e`
5
+ - License: MIT
6
+ - Import mode: metadata-only protocol synthesis
7
+
8
+ ctx uses this source as a protocol reference for durable repo-local agent
9
+ instructions. The imported skill below is a ctx-authored synthesis, not a copy
10
+ of the upstream docs or website.
imported-skills/agents-md/MANIFEST.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "upstream": "https://github.com/agentsmd/agents.md",
3
+ "upstream_revision": "d1ac7f063d20e70015ed6732664049ae4ba9d74e",
4
+ "license": "MIT",
5
+ "namespace": "agents-md",
6
+ "import_mode": "metadata-only",
7
+ "total": 1,
8
+ "skills": 1,
9
+ "entries": [
10
+ {
11
+ "name": "agents-md-protocol",
12
+ "slug": "agents-md-protocol",
13
+ "type": "skill",
14
+ "source_path": "skills/agents-md-protocol/SKILL.md",
15
+ "description": "Create or review durable repo-local AGENTS.md instructions for coding agents and custom harnesses."
16
+ }
17
+ ]
18
+ }
imported-skills/agents-md/README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # AGENTS.md Protocol Import
2
+
3
+ AGENTS.md defines a predictable repository file for coding-agent instructions:
4
+ environment tips, test commands, style rules, PR policy, and project-specific
5
+ constraints.
6
+
7
+ ctx benefits from this protocol in two ways:
8
+
9
+ 1. The skill router can recommend an `agents-md-protocol` skill when a repo has
10
+ weak or missing agent-facing instructions.
11
+ 2. Harness users can expose the same file as durable context to non-Claude-Code
12
+ agents without encoding policy in chat history.
13
+
14
+ This import is metadata-only and synthesized into a ctx skill.
imported-skills/agents-md/UPSTREAM_REVISION ADDED
@@ -0,0 +1 @@
 
 
1
+ d1ac7f063d20e70015ed6732664049ae4ba9d74e
imported-skills/agents-md/skills/agents-md-protocol/SKILL.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ name: agents-md-protocol
3
+ description: >
4
+ Create or review an AGENTS.md file so coding agents get stable repo-local
5
+ instructions: environment setup, testing, style, security boundaries, PR
6
+ policy, and handoff rules. Use when a repo lacks durable agent guidance or
7
+ when a custom harness needs a predictable context file.
8
+ ---
9
+
10
+ # AGENTS.md Protocol
11
+
12
+ ## Purpose
13
+
14
+ Create or tighten a repository-level `AGENTS.md` contract for coding agents.
15
+ Treat it as durable operating context, not a chat prompt.
16
+
17
+ ## When to Use
18
+
19
+ - Repo has no `AGENTS.md`, `CLAUDE.md`, or equivalent agent instructions.
20
+ - Existing instructions are stale, vague, or missing test commands.
21
+ - A custom/API/local harness needs stable context it can load every run.
22
+ - A multi-agent workflow needs explicit handoff and review rules.
23
+
24
+ ## Procedure
25
+
26
+ 1. Inspect repo layout, package managers, CI files, and test commands.
27
+ 2. Capture only durable facts and team rules.
28
+ 3. Keep commands exact and runnable from the documented directory.
29
+ 4. Add security and destructive-operation boundaries.
30
+ 5. Add PR/review expectations and required verification.
31
+ 6. Keep the file short enough to load every session.
32
+
33
+ ## Recommended Sections
34
+
35
+ - `Dev environment tips`
36
+ - `Testing instructions`
37
+ - `Build and lint`
38
+ - `Code style`
39
+ - `Security boundaries`
40
+ - `PR instructions`
41
+ - `Agent handoff notes`
42
+
43
+ ## Quality Bar
44
+
45
+ - Every command has a working directory or clear scope.
46
+ - No secrets, tokens, or private URLs.
47
+ - No vague rules such as "be careful" without a concrete check.
48
+ - No roadmap or marketing text.
49
+ - Instructions match current CI and package metadata.
50
+
51
+ ## Harness Attachment
52
+
53
+ For non-Claude-Code harnesses, load `AGENTS.md` as outer-loop project context.
54
+ The harness should also keep explicit task state outside conversation history.