graph-wiki-skills 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (358) hide show
  1. graph_wiki_skills-0.1.0/.agent/rules/graph-wiki.md +44 -0
  2. graph_wiki_skills-0.1.0/.agent/workflows/graph-wiki.md +32 -0
  3. graph_wiki_skills-0.1.0/.claude/hooks/wiki-stop-capture.ps1 +113 -0
  4. graph_wiki_skills-0.1.0/.claude/hooks/wiki-stop-capture.sh +547 -0
  5. graph_wiki_skills-0.1.0/.cursor/rules/graph-wiki.mdc +42 -0
  6. graph_wiki_skills-0.1.0/.env.example +229 -0
  7. graph_wiki_skills-0.1.0/.github/copilot-instructions.md +46 -0
  8. graph_wiki_skills-0.1.0/.github/workflows/publish.yml +74 -0
  9. graph_wiki_skills-0.1.0/.github/workflows/readme-sync.yml +32 -0
  10. graph_wiki_skills-0.1.0/.github/workflows/setup.yml +28 -0
  11. graph_wiki_skills-0.1.0/.github/workflows/workflow-skill-sync.yml +21 -0
  12. graph_wiki_skills-0.1.0/.gitignore +26 -0
  13. graph_wiki_skills-0.1.0/.hermes.md +1 -0
  14. graph_wiki_skills-0.1.0/.kiro/steering/graph-wiki.md +43 -0
  15. graph_wiki_skills-0.1.0/.skills/claude-history-ingest/SKILL.md +319 -0
  16. graph_wiki_skills-0.1.0/.skills/claude-history-ingest/references/claude-data-format.md +118 -0
  17. graph_wiki_skills-0.1.0/.skills/codex-history-ingest/SKILL.md +245 -0
  18. graph_wiki_skills-0.1.0/.skills/codex-history-ingest/references/codex-data-format.md +82 -0
  19. graph_wiki_skills-0.1.0/.skills/copilot-history-ingest/SKILL.md +373 -0
  20. graph_wiki_skills-0.1.0/.skills/copilot-history-ingest/references/copilot-data-format.md +321 -0
  21. graph_wiki_skills-0.1.0/.skills/cross-linker/SKILL.md +251 -0
  22. graph_wiki_skills-0.1.0/.skills/daily-update/SKILL.md +244 -0
  23. graph_wiki_skills-0.1.0/.skills/daily-update-setup/SKILL.md +205 -0
  24. graph_wiki_skills-0.1.0/.skills/graph-colorize/SKILL.md +180 -0
  25. graph_wiki_skills-0.1.0/.skills/hermes-history-ingest/SKILL.md +236 -0
  26. graph_wiki_skills-0.1.0/.skills/hermes-history-ingest/references/hermes-data-format.md +132 -0
  27. graph_wiki_skills-0.1.0/.skills/impl-validator/SKILL.md +169 -0
  28. graph_wiki_skills-0.1.0/.skills/llm-wiki/SKILL.md +180 -0
  29. graph_wiki_skills-0.1.0/.skills/llm-wiki/references/WRITING.md +28 -0
  30. graph_wiki_skills-0.1.0/.skills/llm-wiki/references/karpathy-pattern.md +45 -0
  31. graph_wiki_skills-0.1.0/.skills/memory-bridge/SKILL.md +163 -0
  32. graph_wiki_skills-0.1.0/.skills/obsidian-layout-adjustment/SKILL.md +226 -0
  33. graph_wiki_skills-0.1.0/.skills/obsidian-layout-adjustment/evals/evals.json +53 -0
  34. graph_wiki_skills-0.1.0/.skills/obsidian-layout-adjustment/references/workflow-reference.md +212 -0
  35. graph_wiki_skills-0.1.0/.skills/obsidian-vault-linker/SKILL.md +320 -0
  36. graph_wiki_skills-0.1.0/.skills/openclaw-history-ingest/SKILL.md +254 -0
  37. graph_wiki_skills-0.1.0/.skills/openclaw-history-ingest/references/openclaw-data-format.md +154 -0
  38. graph_wiki_skills-0.1.0/.skills/pi-history-ingest/SKILL.md +309 -0
  39. graph_wiki_skills-0.1.0/.skills/session-brain/SKILL.md +101 -0
  40. graph_wiki_skills-0.1.0/.skills/session-search/SKILL.md +97 -0
  41. graph_wiki_skills-0.1.0/.skills/skill-creator/LICENSE.txt +202 -0
  42. graph_wiki_skills-0.1.0/.skills/skill-creator/SKILL.md +485 -0
  43. graph_wiki_skills-0.1.0/.skills/skill-creator/agents/analyzer.md +274 -0
  44. graph_wiki_skills-0.1.0/.skills/skill-creator/agents/comparator.md +202 -0
  45. graph_wiki_skills-0.1.0/.skills/skill-creator/agents/grader.md +223 -0
  46. graph_wiki_skills-0.1.0/.skills/skill-creator/assets/eval_review.html +146 -0
  47. graph_wiki_skills-0.1.0/.skills/skill-creator/eval-viewer/generate_review.py +471 -0
  48. graph_wiki_skills-0.1.0/.skills/skill-creator/eval-viewer/viewer.html +1325 -0
  49. graph_wiki_skills-0.1.0/.skills/skill-creator/references/schemas.md +430 -0
  50. graph_wiki_skills-0.1.0/.skills/skill-creator/scripts/__init__.py +0 -0
  51. graph_wiki_skills-0.1.0/.skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
  52. graph_wiki_skills-0.1.0/.skills/skill-creator/scripts/generate_report.py +326 -0
  53. graph_wiki_skills-0.1.0/.skills/skill-creator/scripts/improve_description.py +247 -0
  54. graph_wiki_skills-0.1.0/.skills/skill-creator/scripts/package_skill.py +136 -0
  55. graph_wiki_skills-0.1.0/.skills/skill-creator/scripts/quick_validate.py +103 -0
  56. graph_wiki_skills-0.1.0/.skills/skill-creator/scripts/run_eval.py +310 -0
  57. graph_wiki_skills-0.1.0/.skills/skill-creator/scripts/run_loop.py +328 -0
  58. graph_wiki_skills-0.1.0/.skills/skill-creator/scripts/utils.py +47 -0
  59. graph_wiki_skills-0.1.0/.skills/tag-taxonomy/SKILL.md +240 -0
  60. graph_wiki_skills-0.1.0/.skills/vault-skill-factory/SKILL.md +135 -0
  61. graph_wiki_skills-0.1.0/.skills/wiki-agent/SKILL.md +319 -0
  62. graph_wiki_skills-0.1.0/.skills/wiki-capture/SKILL.md +376 -0
  63. graph_wiki_skills-0.1.0/.skills/wiki-capture/references/RAW-FORMAT.md +115 -0
  64. graph_wiki_skills-0.1.0/.skills/wiki-context/SKILL.md +113 -0
  65. graph_wiki_skills-0.1.0/.skills/wiki-context-pack/SKILL.md +89 -0
  66. graph_wiki_skills-0.1.0/.skills/wiki-dashboard/SKILL.md +469 -0
  67. graph_wiki_skills-0.1.0/.skills/wiki-dedup/SKILL.md +317 -0
  68. graph_wiki_skills-0.1.0/.skills/wiki-digest/SKILL.md +240 -0
  69. graph_wiki_skills-0.1.0/.skills/wiki-export/SKILL.md +389 -0
  70. graph_wiki_skills-0.1.0/.skills/wiki-finalize-sources/SKILL.md +141 -0
  71. graph_wiki_skills-0.1.0/.skills/wiki-folder-ingest/SKILL.md +179 -0
  72. graph_wiki_skills-0.1.0/.skills/wiki-folder-ingest/references/finalization-policy.md +91 -0
  73. graph_wiki_skills-0.1.0/.skills/wiki-history-ingest/SKILL.md +62 -0
  74. graph_wiki_skills-0.1.0/.skills/wiki-import/SKILL.md +273 -0
  75. graph_wiki_skills-0.1.0/.skills/wiki-ingest/SKILL.md +107 -0
  76. graph_wiki_skills-0.1.0/.skills/wiki-ingest-document/SKILL.md +117 -0
  77. graph_wiki_skills-0.1.0/.skills/wiki-lint/SKILL.md +248 -0
  78. graph_wiki_skills-0.1.0/.skills/wiki-lint-consolidate/SKILL.md +206 -0
  79. graph_wiki_skills-0.1.0/.skills/wiki-narrate/SKILL.md +117 -0
  80. graph_wiki_skills-0.1.0/.skills/wiki-narrate/references/voices.md +29 -0
  81. graph_wiki_skills-0.1.0/.skills/wiki-packet-integrate/SKILL.md +194 -0
  82. graph_wiki_skills-0.1.0/.skills/wiki-packet-integrate/references/ingest-prompts.md +55 -0
  83. graph_wiki_skills-0.1.0/.skills/wiki-packet-integrate/references/page-write-policy.md +181 -0
  84. graph_wiki_skills-0.1.0/.skills/wiki-page-contract/SKILL.md +78 -0
  85. graph_wiki_skills-0.1.0/.skills/wiki-query/SKILL.md +250 -0
  86. graph_wiki_skills-0.1.0/.skills/wiki-rebuild/SKILL.md +242 -0
  87. graph_wiki_skills-0.1.0/.skills/wiki-research/SKILL.md +241 -0
  88. graph_wiki_skills-0.1.0/.skills/wiki-setup/SKILL.md +462 -0
  89. graph_wiki_skills-0.1.0/.skills/wiki-setup-contract/SKILL.md +111 -0
  90. graph_wiki_skills-0.1.0/.skills/wiki-source-text/SKILL.md +125 -0
  91. graph_wiki_skills-0.1.0/.skills/wiki-source-text/references/extraction-frame.md +99 -0
  92. graph_wiki_skills-0.1.0/.skills/wiki-stage-commit/SKILL.md +337 -0
  93. graph_wiki_skills-0.1.0/.skills/wiki-status/SKILL.md +241 -0
  94. graph_wiki_skills-0.1.0/.skills/wiki-switch/SKILL.md +117 -0
  95. graph_wiki_skills-0.1.0/.skills/wiki-synthesize/SKILL.md +209 -0
  96. graph_wiki_skills-0.1.0/.skills/wiki-update/SKILL.md +324 -0
  97. graph_wiki_skills-0.1.0/.windsurf/rules/graph-wiki.md +42 -0
  98. graph_wiki_skills-0.1.0/AGENTS.md +166 -0
  99. graph_wiki_skills-0.1.0/CLAUDE.md +1 -0
  100. graph_wiki_skills-0.1.0/CONTEXT.md +41 -0
  101. graph_wiki_skills-0.1.0/GEMINI.md +1 -0
  102. graph_wiki_skills-0.1.0/LICENSE +21 -0
  103. graph_wiki_skills-0.1.0/PKG-INFO +162 -0
  104. graph_wiki_skills-0.1.0/README.md +133 -0
  105. graph_wiki_skills-0.1.0/README_ZH.md +133 -0
  106. graph_wiki_skills-0.1.0/SETUP.md +21 -0
  107. graph_wiki_skills-0.1.0/docs/README.md +20 -0
  108. graph_wiki_skills-0.1.0/docs/README.zh-CN.md +19 -0
  109. graph_wiki_skills-0.1.0/docs/agents.md +161 -0
  110. graph_wiki_skills-0.1.0/docs/agents.zh-CN.md +174 -0
  111. graph_wiki_skills-0.1.0/docs/architecture.md +255 -0
  112. graph_wiki_skills-0.1.0/docs/architecture.zh-CN.md +265 -0
  113. graph_wiki_skills-0.1.0/docs/cli.md +390 -0
  114. graph_wiki_skills-0.1.0/docs/cli.zh-CN.md +388 -0
  115. graph_wiki_skills-0.1.0/docs/configuration.md +372 -0
  116. graph_wiki_skills-0.1.0/docs/configuration.zh-CN.md +383 -0
  117. graph_wiki_skills-0.1.0/docs/contributing.md +100 -0
  118. graph_wiki_skills-0.1.0/docs/contributing.zh-CN.md +104 -0
  119. graph_wiki_skills-0.1.0/docs/ingest-pipeline-redesign.md +621 -0
  120. graph_wiki_skills-0.1.0/docs/ingest-pipeline-redesign.zh-CN.md +601 -0
  121. graph_wiki_skills-0.1.0/docs/installation.md +193 -0
  122. graph_wiki_skills-0.1.0/docs/installation.zh-CN.md +206 -0
  123. graph_wiki_skills-0.1.0/docs/session-brain.md +91 -0
  124. graph_wiki_skills-0.1.0/docs/session-brain.zh-CN.md +97 -0
  125. graph_wiki_skills-0.1.0/docs/skills.md +149 -0
  126. graph_wiki_skills-0.1.0/docs/skills.zh-CN.md +146 -0
  127. graph_wiki_skills-0.1.0/example/book//351/200/273/350/276/221/346/200/235/347/273/264.md +1259 -0
  128. graph_wiki_skills-0.1.0/example/design/.obsidian/frontmatter-index.json +1 -0
  129. graph_wiki_skills-0.1.0/example/design/.skills/design-spec/SKILL.md +48 -0
  130. graph_wiki_skills-0.1.0/example/design/.skills/implementation-plan/SKILL.md +47 -0
  131. graph_wiki_skills-0.1.0/example/design/.skills/issue-diagnosis/SKILL.md +45 -0
  132. graph_wiki_skills-0.1.0/example/design/.skills/requirement-spec/SKILL.md +48 -0
  133. graph_wiki_skills-0.1.0/example/design/.skills/test-design/SKILL.md +44 -0
  134. graph_wiki_skills-0.1.0/example/design/AGENTS.md +65 -0
  135. graph_wiki_skills-0.1.0/example/design/README.md +45 -0
  136. graph_wiki_skills-0.1.0/extensions/brain-capture/README.md +42 -0
  137. graph_wiki_skills-0.1.0/extensions/brain-capture/assets/icon-128.png +0 -0
  138. graph_wiki_skills-0.1.0/extensions/brain-capture/assets/icon-16.png +0 -0
  139. graph_wiki_skills-0.1.0/extensions/brain-capture/assets/icon-48.png +0 -0
  140. graph_wiki_skills-0.1.0/extensions/brain-capture/assets/obsidian-brain.png +0 -0
  141. graph_wiki_skills-0.1.0/extensions/brain-capture/assets/store-screenshot-1280x800.png +0 -0
  142. graph_wiki_skills-0.1.0/extensions/brain-capture/background.js +212 -0
  143. graph_wiki_skills-0.1.0/extensions/brain-capture/manifest.json +28 -0
  144. graph_wiki_skills-0.1.0/extensions/brain-capture/popup.css +282 -0
  145. graph_wiki_skills-0.1.0/extensions/brain-capture/popup.html +53 -0
  146. graph_wiki_skills-0.1.0/extensions/brain-capture/popup.js +260 -0
  147. graph_wiki_skills-0.1.0/graph_wiki/__init__.py +14 -0
  148. graph_wiki_skills-0.1.0/graph_wiki/__main__.py +6 -0
  149. graph_wiki_skills-0.1.0/graph_wiki/ast_extractor.py +387 -0
  150. graph_wiki_skills-0.1.0/graph_wiki/batch.py +282 -0
  151. graph_wiki_skills-0.1.0/graph_wiki/cache.py +413 -0
  152. graph_wiki_skills-0.1.0/graph_wiki/claude_workers.py +414 -0
  153. graph_wiki_skills-0.1.0/graph_wiki/cli.py +3686 -0
  154. graph_wiki_skills-0.1.0/graph_wiki/config_paths.py +91 -0
  155. graph_wiki_skills-0.1.0/graph_wiki/context_pack.py +423 -0
  156. graph_wiki_skills-0.1.0/graph_wiki/graph.py +474 -0
  157. graph_wiki_skills-0.1.0/graph_wiki/graph_analysis.py +302 -0
  158. graph_wiki_skills-0.1.0/graph_wiki/graphrag.py +294 -0
  159. graph_wiki_skills-0.1.0/graph_wiki/index.py +378 -0
  160. graph_wiki_skills-0.1.0/graph_wiki/ingest_documents.py +265 -0
  161. graph_wiki_skills-0.1.0/graph_wiki/ingest_pipeline.py +1051 -0
  162. graph_wiki_skills-0.1.0/graph_wiki/knowledge_pack.py +309 -0
  163. graph_wiki_skills-0.1.0/graph_wiki/lint.py +470 -0
  164. graph_wiki_skills-0.1.0/graph_wiki/relationships.py +220 -0
  165. graph_wiki_skills-0.1.0/graph_wiki/session_graph.py +579 -0
  166. graph_wiki_skills-0.1.0/graph_wiki/session_index.py +416 -0
  167. graph_wiki_skills-0.1.0/graph_wiki/session_query.py +273 -0
  168. graph_wiki_skills-0.1.0/graph_wiki/session_sources.py +576 -0
  169. graph_wiki_skills-0.1.0/graph_wiki/session_viz.py +373 -0
  170. graph_wiki_skills-0.1.0/graph_wiki/sync.py +107 -0
  171. graph_wiki_skills-0.1.0/graph_wiki/text_chunker.py +965 -0
  172. graph_wiki_skills-0.1.0/graph_wiki/trust.py +719 -0
  173. graph_wiki_skills-0.1.0/graph_wiki/validate.py +154 -0
  174. graph_wiki_skills-0.1.0/graph_wiki/verify.py +214 -0
  175. graph_wiki_skills-0.1.0/knowledge-packs/AGENTS.md +12 -0
  176. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/layout.json +11 -0
  177. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/profile.json +86 -0
  178. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/routing.json +27 -0
  179. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/routing.md +15 -0
  180. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/.codegraph/.gitkeep +1 -0
  181. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/.obsidian/.gitkeep +1 -0
  182. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/AGENTS.md +13 -0
  183. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/_archives/.gitkeep +1 -0
  184. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/_meta/rules.md +9 -0
  185. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/_meta/schema.json +32 -0
  186. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/_meta/terminology-policy.md +7 -0
  187. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/_raw/.gitkeep +1 -0
  188. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/_readouts/.gitkeep +1 -0
  189. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/_staging/.gitkeep +1 -0
  190. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/_state/.gitkeep +1 -0
  191. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/arguments/.gitkeep +1 -0
  192. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/books/.gitkeep +1 -0
  193. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/characters/.gitkeep +1 -0
  194. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/concepts/.gitkeep +1 -0
  195. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/entities/.gitkeep +1 -0
  196. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/people/.gitkeep +1 -0
  197. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/practices/.gitkeep +1 -0
  198. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/reading/.gitkeep +1 -0
  199. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/references/.gitkeep +1 -0
  200. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/settings/.gitkeep +1 -0
  201. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/synthesis/.gitkeep +1 -0
  202. graph_wiki_skills-0.1.0/knowledge-packs/book-knowledge/vault/themes/.gitkeep +1 -0
  203. graph_wiki_skills-0.1.0/knowledge-packs/default/layout.json +14 -0
  204. graph_wiki_skills-0.1.0/knowledge-packs/default/profile.json +77 -0
  205. graph_wiki_skills-0.1.0/knowledge-packs/default/routing.json +24 -0
  206. graph_wiki_skills-0.1.0/knowledge-packs/default/routing.md +10 -0
  207. graph_wiki_skills-0.1.0/knowledge-packs/default/vault/.obsidian/.gitkeep +1 -0
  208. graph_wiki_skills-0.1.0/knowledge-packs/default/vault/_archives/.gitkeep +1 -0
  209. graph_wiki_skills-0.1.0/knowledge-packs/default/vault/_meta/.gitkeep +1 -0
  210. graph_wiki_skills-0.1.0/knowledge-packs/default/vault/_raw/.gitkeep +1 -0
  211. graph_wiki_skills-0.1.0/knowledge-packs/default/vault/_readouts/.gitkeep +1 -0
  212. graph_wiki_skills-0.1.0/knowledge-packs/default/vault/_staging/.gitkeep +1 -0
  213. graph_wiki_skills-0.1.0/knowledge-packs/default/vault/concepts/.gitkeep +1 -0
  214. graph_wiki_skills-0.1.0/knowledge-packs/default/vault/entities/.gitkeep +1 -0
  215. graph_wiki_skills-0.1.0/knowledge-packs/default/vault/journal/.gitkeep +1 -0
  216. graph_wiki_skills-0.1.0/knowledge-packs/default/vault/projects/.gitkeep +1 -0
  217. graph_wiki_skills-0.1.0/knowledge-packs/default/vault/references/.gitkeep +1 -0
  218. graph_wiki_skills-0.1.0/knowledge-packs/default/vault/skills/.gitkeep +1 -0
  219. graph_wiki_skills-0.1.0/knowledge-packs/default/vault/synthesis/.gitkeep +1 -0
  220. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/layout.json +36 -0
  221. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/profile.json +100 -0
  222. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/routing.json +86 -0
  223. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/routing.md +358 -0
  224. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/.codegraph/.gitkeep +1 -0
  225. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/.obsidian/.gitkeep +1 -0
  226. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/AGENTS.md +15 -0
  227. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/_archives/.gitkeep +1 -0
  228. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/_meta/rules.md +32 -0
  229. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/_meta/schema.json +108 -0
  230. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/_meta/terminology-policy.md +10 -0
  231. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/_raw/.gitkeep +1 -0
  232. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/_readouts/.gitkeep +1 -0
  233. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/_staging/.gitkeep +1 -0
  234. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/_state/.gitkeep +1 -0
  235. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/behaviors/.gitkeep +1 -0
  236. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/capabilities/.gitkeep +1 -0
  237. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/changes/.gitkeep +1 -0
  238. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/components/.gitkeep +1 -0
  239. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/concepts/.gitkeep +1 -0
  240. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/decisions/.gitkeep +1 -0
  241. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/deployables/.gitkeep +1 -0
  242. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/domains/.gitkeep +1 -0
  243. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/interfaces/.gitkeep +1 -0
  244. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/models/.gitkeep +1 -0
  245. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/operations/.gitkeep +1 -0
  246. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/patterns/.gitkeep +1 -0
  247. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/processes/.gitkeep +1 -0
  248. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/projects/.gitkeep +1 -0
  249. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/quality/.gitkeep +1 -0
  250. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/references/.gitkeep +1 -0
  251. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/rules/.gitkeep +1 -0
  252. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/skills/.gitkeep +1 -0
  253. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/synthesis/.gitkeep +1 -0
  254. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/systems/.gitkeep +1 -0
  255. graph_wiki_skills-0.1.0/knowledge-packs/software-knowledge/vault/terms/.gitkeep +1 -0
  256. graph_wiki_skills-0.1.0/pyproject.toml +113 -0
  257. graph_wiki_skills-0.1.0/scripts/com.graph-wiki.daily-update.plist +35 -0
  258. graph_wiki_skills-0.1.0/scripts/daily-update.py +153 -0
  259. graph_wiki_skills-0.1.0/scripts/daily-update.sh +143 -0
  260. graph_wiki_skills-0.1.0/scripts/extract-jsonl.py +400 -0
  261. graph_wiki_skills-0.1.0/scripts/manifest.py +203 -0
  262. graph_wiki_skills-0.1.0/scripts/wiki-notify.py +68 -0
  263. graph_wiki_skills-0.1.0/scripts/wiki-notify.sh +42 -0
  264. graph_wiki_skills-0.1.0/setup.py +472 -0
  265. graph_wiki_skills-0.1.0/skills/wechat-article-fetcher/SKILL.md +191 -0
  266. graph_wiki_skills-0.1.0/skills/wechat-article-fetcher/references/path-defaults.yaml +14 -0
  267. graph_wiki_skills-0.1.0/skills/wechat-article-fetcher/references/wechat-extraction.md +68 -0
  268. graph_wiki_skills-0.1.0/skills/wechat-article-fetcher/scripts/fetch_wechat_article.py +1013 -0
  269. graph_wiki_skills-0.1.0/skills/wechat-article-fetcher/scripts/tests/test_fetch_wechat_article.py +251 -0
  270. graph_wiki_skills-0.1.0/tests/test_ast_extractor.py +174 -0
  271. graph_wiki_skills-0.1.0/tests/test_batch.py +289 -0
  272. graph_wiki_skills-0.1.0/tests/test_cache.py +250 -0
  273. graph_wiki_skills-0.1.0/tests/test_cache_manifest_shapes.py +218 -0
  274. graph_wiki_skills-0.1.0/tests/test_config_dir_override.py +228 -0
  275. graph_wiki_skills-0.1.0/tests/test_context_pack.py +400 -0
  276. graph_wiki_skills-0.1.0/tests/test_context_pack_cli.py +238 -0
  277. graph_wiki_skills-0.1.0/tests/test_context_pack_docs.py +90 -0
  278. graph_wiki_skills-0.1.0/tests/test_design_example.py +36 -0
  279. graph_wiki_skills-0.1.0/tests/test_docs_language_policy.py +96 -0
  280. graph_wiki_skills-0.1.0/tests/test_doctor.py +110 -0
  281. graph_wiki_skills-0.1.0/tests/test_extract_staleness.py +107 -0
  282. graph_wiki_skills-0.1.0/tests/test_graph.py +160 -0
  283. graph_wiki_skills-0.1.0/tests/test_graph_analysis.py +288 -0
  284. graph_wiki_skills-0.1.0/tests/test_graphrag.py +348 -0
  285. graph_wiki_skills-0.1.0/tests/test_ingest_documents.py +84 -0
  286. graph_wiki_skills-0.1.0/tests/test_ingest_pipeline.py +426 -0
  287. graph_wiki_skills-0.1.0/tests/test_inline_vault_targeting_docs.py +72 -0
  288. graph_wiki_skills-0.1.0/tests/test_knowledge_pack.py +115 -0
  289. graph_wiki_skills-0.1.0/tests/test_lint.py +618 -0
  290. graph_wiki_skills-0.1.0/tests/test_manifest_delta.py +152 -0
  291. graph_wiki_skills-0.1.0/tests/test_okf_same_name_link_roundtrip.py +50 -0
  292. graph_wiki_skills-0.1.0/tests/test_pre_write_snapshot_docs.py +50 -0
  293. graph_wiki_skills-0.1.0/tests/test_query_cli.py +66 -0
  294. graph_wiki_skills-0.1.0/tests/test_readme_sync.py +94 -0
  295. graph_wiki_skills-0.1.0/tests/test_relationships.py +221 -0
  296. graph_wiki_skills-0.1.0/tests/test_scripts_packaging.py +79 -0
  297. graph_wiki_skills-0.1.0/tests/test_session_brain_docs.py +118 -0
  298. graph_wiki_skills-0.1.0/tests/test_session_cli.py +203 -0
  299. graph_wiki_skills-0.1.0/tests/test_session_graph.py +324 -0
  300. graph_wiki_skills-0.1.0/tests/test_session_index.py +169 -0
  301. graph_wiki_skills-0.1.0/tests/test_session_query.py +215 -0
  302. graph_wiki_skills-0.1.0/tests/test_session_sources.py +225 -0
  303. graph_wiki_skills-0.1.0/tests/test_setup_cli.py +675 -0
  304. graph_wiki_skills-0.1.0/tests/test_setup_contract.py +22 -0
  305. graph_wiki_skills-0.1.0/tests/test_skill_install_migration.py +45 -0
  306. graph_wiki_skills-0.1.0/tests/test_stop_hook_behavior.py +624 -0
  307. graph_wiki_skills-0.1.0/tests/test_stop_hook_packaging.py +76 -0
  308. graph_wiki_skills-0.1.0/tests/test_sync.py +138 -0
  309. graph_wiki_skills-0.1.0/tests/test_sync_setup_parity.py +60 -0
  310. graph_wiki_skills-0.1.0/tests/test_text_chunker.py +315 -0
  311. graph_wiki_skills-0.1.0/tests/test_text_ingest_cli.py +471 -0
  312. graph_wiki_skills-0.1.0/tests/test_text_ingest_v1_docs.py +196 -0
  313. graph_wiki_skills-0.1.0/tests/test_trust.py +1197 -0
  314. graph_wiki_skills-0.1.0/tests/test_wiki_context_cli.py +604 -0
  315. graph_wiki_skills-0.1.0/tests/test_wiki_narrate_docs.py +55 -0
  316. graph_wiki_skills-0.1.0/tests/test_wiki_setup_workflow_paths.py +134 -0
  317. graph_wiki_skills-0.1.0/tests/test_workflow_skill_parity.py +160 -0
  318. graph_wiki_skills-0.1.0/tests/test_workflow_step_responsibilities.py +112 -0
  319. graph_wiki_skills-0.1.0/tests/test_writing_profile.py +50 -0
  320. graph_wiki_skills-0.1.0/tools/check_readme_sync.py +74 -0
  321. graph_wiki_skills-0.1.0/tools/sync_workflow_skills.py +374 -0
  322. graph_wiki_skills-0.1.0/uv.lock +300 -0
  323. graph_wiki_skills-0.1.0/workflows/AGENTS.md +72 -0
  324. graph_wiki_skills-0.1.0/workflows/claude-history-ingest.yaml +158 -0
  325. graph_wiki_skills-0.1.0/workflows/cross-linker.yaml +127 -0
  326. graph_wiki_skills-0.1.0/workflows/daily-update-setup.yaml +99 -0
  327. graph_wiki_skills-0.1.0/workflows/daily-update.yaml +115 -0
  328. graph_wiki_skills-0.1.0/workflows/impl-validator.yaml +84 -0
  329. graph_wiki_skills-0.1.0/workflows/llm-wiki.yaml +94 -0
  330. graph_wiki_skills-0.1.0/workflows/scripts/apply_knowledge_pack.py +406 -0
  331. graph_wiki_skills-0.1.0/workflows/scripts/build_setup_contract.py +245 -0
  332. graph_wiki_skills-0.1.0/workflows/scripts/hash_source.py +58 -0
  333. graph_wiki_skills-0.1.0/workflows/scripts/resolve_wiki_context.py +537 -0
  334. graph_wiki_skills-0.1.0/workflows/scripts/resolve_wiki_route.py +82 -0
  335. graph_wiki_skills-0.1.0/workflows/tag-taxonomy.yaml +118 -0
  336. graph_wiki_skills-0.1.0/workflows/templates/wiki-setup/WRITING.md +28 -0
  337. graph_wiki_skills-0.1.0/workflows/templates/wiki-setup/app.json +6 -0
  338. graph_wiki_skills-0.1.0/workflows/templates/wiki-setup/appearance.json +3 -0
  339. graph_wiki_skills-0.1.0/workflows/templates/wiki-setup/hot.md +24 -0
  340. graph_wiki_skills-0.1.0/workflows/templates/wiki-setup/index.md +9 -0
  341. graph_wiki_skills-0.1.0/workflows/templates/wiki-setup/integrations.json +67 -0
  342. graph_wiki_skills-0.1.0/workflows/templates/wiki-setup/log.md +7 -0
  343. graph_wiki_skills-0.1.0/workflows/templates/wiki-setup/manifest.json +1 -0
  344. graph_wiki_skills-0.1.0/workflows/wiki-context.yaml +59 -0
  345. graph_wiki_skills-0.1.0/workflows/wiki-finalize-sources.yaml +67 -0
  346. graph_wiki_skills-0.1.0/workflows/wiki-folder-ingest.yaml +122 -0
  347. graph_wiki_skills-0.1.0/workflows/wiki-lint-consolidate.yaml +100 -0
  348. graph_wiki_skills-0.1.0/workflows/wiki-lint.yaml +127 -0
  349. graph_wiki_skills-0.1.0/workflows/wiki-packet-integrate.yaml +98 -0
  350. graph_wiki_skills-0.1.0/workflows/wiki-page-contract.yaml +40 -0
  351. graph_wiki_skills-0.1.0/workflows/wiki-query.yaml +125 -0
  352. graph_wiki_skills-0.1.0/workflows/wiki-rebuild.yaml +120 -0
  353. graph_wiki_skills-0.1.0/workflows/wiki-setup-contract.yaml +57 -0
  354. graph_wiki_skills-0.1.0/workflows/wiki-setup.yaml +219 -0
  355. graph_wiki_skills-0.1.0/workflows/wiki-source-text.yaml +28 -0
  356. graph_wiki_skills-0.1.0/workflows/wiki-stage-commit.yaml +155 -0
  357. graph_wiki_skills-0.1.0/workflows/wiki-status.yaml +117 -0
  358. graph_wiki_skills-0.1.0/workflows/wiki-update.yaml +163 -0
@@ -0,0 +1,44 @@
1
+ ---
2
+ alwaysApply: true
3
+ description: Graph Wiki skill-based framework — routing, conventions, and core rules.
4
+ ---
5
+
6
+ # Graph Wiki — Agent Context
7
+
8
+ This project is a **skill-based framework** for building and maintaining an Obsidian knowledge base.
9
+
10
+ ## Quick Orientation
11
+
12
+ 1. Resolve config via `AGENTS.md`: honor an inline `@name` vault override first, then `.env`, then the config file (`~/.graph-wiki/config` by default, relocatable with `GRAPH_WIKI_CONFIG_DIR`). This gives `OBSIDIAN_VAULT_PATH` — where the wiki lives.
13
+ 2. Read `.manifest.json` at the vault root to see what's already been ingested.
14
+ 3. Skills are in `.skills/` (also at `.agents/skills/`). Each subfolder has a `SKILL.md`.
15
+
16
+ ## When to Use Skills
17
+
18
+ | User says something like… | Read this skill |
19
+ |---|---|
20
+ | "set up my wiki" / "initialize" | `wiki-setup` |
21
+ | "ingest this folder" / "process these text docs" / a local `.md`, `.markdown`, `.mdx`, `.txt`, or `.rst` source | `wiki-folder-ingest` |
22
+ | "import my Claude history" | `claude-history-ingest` |
23
+ | "import my Codex history" | `codex-history-ingest` |
24
+ | "import my Hermes history" | `hermes-history-ingest` |
25
+ | "import my OpenClaw history" | `openclaw-history-ingest` |
26
+ | "import my Pi history" | `pi-history-ingest` |
27
+ | "what's the status" / "show the delta" | `wiki-status` |
28
+ | "what do I know about X" | `wiki-query` |
29
+ | "use my vault as context" / "context pack for X" / "bounded context" | `wiki-context-pack` |
30
+ | "audit" / "lint" / "find broken links" | `wiki-lint` |
31
+ | "rebuild" / "archive" / "restore" | `wiki-rebuild` |
32
+ | "link my pages" / "cross-reference" | `cross-linker` |
33
+ | "fix my tags" | `tag-taxonomy` |
34
+ | "update wiki" / "sync to wiki" | `wiki-update` |
35
+ | "export wiki" / "export graph" | `wiki-export` |
36
+
37
+ ## Core Rules
38
+
39
+ - **Compile, don't retrieve** — update existing pages, don't append or duplicate.
40
+ - **Track everything** — update `.manifest.json`, `index.md`, and `log.md` after every operation.
41
+ - **Connect with `[[wikilinks]]`** — every page should link to related pages.
42
+ - **Frontmatter required** — every page needs `title`, `category`, `tags`, `sources`, `created`, `updated`.
43
+
44
+ For full context, read `AGENTS.md` at the repo root.
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: graph-wiki
3
+ description: Graph Wiki workflows — query, update, ingest, lint, status.
4
+ commands:
5
+ - name: wiki-context-pack
6
+ description: Compile a bounded vault context slice for a downstream agent.
7
+ skill: .skills/wiki-context-pack/SKILL.md
8
+ - name: wiki-query
9
+ description: Answer questions from the compiled Graph Wiki with [[wikilink]] citations.
10
+ skill: .skills/wiki-query/SKILL.md
11
+ - name: wiki-update
12
+ description: Sync the current project's knowledge into the Graph Wiki.
13
+ skill: .skills/wiki-update/SKILL.md
14
+ - name: wiki-folder-ingest
15
+ description: Ingest supported local text files or folders into the Graph Wiki.
16
+ skill: .skills/wiki-folder-ingest/SKILL.md
17
+ - name: wiki-status
18
+ description: Show what's been ingested, what's pending, and the delta.
19
+ skill: .skills/wiki-status/SKILL.md
20
+ - name: wiki-lint
21
+ description: Audit the wiki for orphans, broken links, stale content.
22
+ skill: .skills/wiki-lint/SKILL.md
23
+ ---
24
+
25
+ # Graph Wiki — Workflow Registry
26
+
27
+ Each command above maps to a `SKILL.md` in `.skills/`. When a user invokes one
28
+ of these commands, read the mapped skill file and follow its instructions
29
+ exactly. The skills handle vault path resolution, manifest tracking, and
30
+ `[[wikilink]]` connectivity on their own.
31
+
32
+ For the full routing table (all 15+ skills), see `AGENTS.md` at the repo root.
@@ -0,0 +1,113 @@
1
+ # Fires on Claude Code Stop event (Windows PowerShell).
2
+ #
3
+ # Reads the session transcript; if significant work happened, asks Claude
4
+ # to run /wiki-capture --quick so findings aren't silently lost.
5
+ #
6
+ # Exit 0 = no-op (nothing worth capturing).
7
+ # Exit 2 = stderr fed to Claude as a user message, triggering capture.
8
+ #
9
+ # Register in settings.json:
10
+ # "Stop": [
11
+ # {"command": "powershell", "args": ["-NoProfile", "-File", ".claude/hooks/wiki-stop-capture.ps1"]}
12
+ # ]
13
+
14
+ param()
15
+
16
+ $ErrorActionPreference = "Stop"
17
+
18
+ $input = [Console]::In.ReadToEnd()
19
+ if (-not $input) { exit 0 }
20
+
21
+ try { $data = $input | ConvertFrom-Json }
22
+ catch { exit 0 }
23
+
24
+ # Suppress if already in a stop-hook-triggered turn
25
+ if ($data.stop_hook_active) { exit 0 }
26
+
27
+ # Fire at most once per session
28
+ $rearm_seconds = if ($env:WIKI_STOP_REARM_SECONDS) { [int]$env:WIKI_STOP_REARM_SECONDS } else { 21600 }
29
+ $rearm_edits = if ($env:WIKI_STOP_REARM_EDITS) { [int]$env:WIKI_STOP_REARM_EDITS } else { 10 }
30
+ $session_id = $data.session_id
31
+ $sentinel = $null
32
+ $rearm_candidate = $false
33
+
34
+ if ($session_id) {
35
+ $tmp_dir = if ($env:TMPDIR) { $env:TMPDIR } elseif ($env:TMP) { $env:TMP } else { $env:TEMP }
36
+ $sentinel = Join-Path $tmp_dir "wiki-stop-capture-$session_id.done"
37
+ if (Test-Path $sentinel) {
38
+ $now = [int](Get-Date -UFormat %s)
39
+ $claimed_at = [int]((Get-Item $sentinel).LastWriteTimeUtc | New-TimeSpan -Start (Get-Date "1970-01-01") | Select-Object -ExpandProperty TotalSeconds)
40
+ if ($now - $claimed_at -lt $rearm_seconds) {
41
+ exit 0
42
+ }
43
+ $rearm_candidate = $true
44
+ }
45
+ }
46
+
47
+ $transcript_path = $data.transcript_path
48
+ if (-not $transcript_path -or -not (Test-Path $transcript_path)) { exit 0 }
49
+
50
+ # Count meaningful tool uses
51
+ $write_edit = 0
52
+ $bash_count = 0
53
+ $mutating_bash = 0
54
+ $suspicious = 0
55
+
56
+ $readonly_cmds = @("cat", "ls", "head", "tail", "grep", "rg", "echo", "pwd", "which", "whereis", "type", "file", "wc", "diff", "findstr")
57
+ $git_readonly = @("status", "log", "diff", "show", "blame", "rev-parse", "ls-files", "ls-tree")
58
+ $gh_readonly = @("view", "list", "status", "diff")
59
+
60
+ Get-Content $transcript_path | ForEach-Object {
61
+ $line = $_.Trim()
62
+ if (-not $line) { return }
63
+ try { $entry = $line | ConvertFrom-Json } catch { return }
64
+ $msg = $entry.message
65
+ if (-not $msg -or $msg.role -ne "assistant") { return }
66
+ foreach ($block in $msg.content) {
67
+ if ($block.type -ne "tool_use") { continue }
68
+ $name = $block.name
69
+ if ($name -in @("Write", "Edit", "NotebookEdit")) {
70
+ $script:write_edit++
71
+ }
72
+ elseif ($name -eq "Bash") {
73
+ $script:bash_count++
74
+ $cmd = $block.input.command
75
+ $base = (($cmd -split '\s+')[0] -split '/')[-1]
76
+ if ($base -notin $script:readonly_cmds) {
77
+ $args0 = ($cmd -split '\s+')[1]
78
+ if ($base -eq "git" -and $args0 -notin $script:git_readonly) { $script:mutating_bash++ }
79
+ elseif ($base -eq "gh" -and $args0 -notin $script:gh_readonly) { $script:mutating_bash++ }
80
+ else { $script:mutating_bash++ }
81
+ }
82
+ }
83
+ elseif ($name -in @("Task", "Agent")) {
84
+ $agent_type = $block.input.subagent_type
85
+ if ($agent_type -notin @("Explore", "Plan")) { $script:suspicious++ }
86
+ }
87
+ elseif ($name -notmatch "^Read$|^Glob$|^Grep$|^LS$|^WebFetch$|^WebSearch$|^Todo|^Skill$|^Ask") {
88
+ $script:suspicious++
89
+ }
90
+ }
91
+ }
92
+
93
+ $trigger = ($write_edit -ge 1) -or ($bash_count -ge 4 -and ($mutating_bash -ge 1 -or $suspicious -ge 1))
94
+ if (-not $trigger) { exit 0 }
95
+
96
+ # Re-arm gate
97
+ if ($rearm_candidate -and $sentinel) {
98
+ $prev_edits = try { [int](Get-Content "$sentinel\edits" -ErrorAction SilentlyContinue) } catch { 0 }
99
+ if ($write_edit - $prev_edits -lt $rearm_edits) { exit 0 }
100
+ $retired = "$sentinel.retired.$pid"
101
+ try { Move-Item $sentinel $retired -ErrorAction Stop } catch { exit 0 }
102
+ Remove-Item -Recurse $retired -ErrorAction SilentlyContinue
103
+ }
104
+
105
+ # Atomically claim the right to nudge
106
+ if ($sentinel) {
107
+ try { New-Item -ItemType Directory $sentinel -ErrorAction Stop | Out-Null }
108
+ catch { exit 0 }
109
+ "$write_edit" | Out-File "$sentinel\edits" -Encoding utf8
110
+ }
111
+
112
+ "Session ended with $write_edit file edit(s) and $bash_count shell call(s). Please run /wiki-capture --quick now to preserve any reusable findings before this context closes." | Write-Error
113
+ exit 2