dsh-ecc-skills 0.4.0

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 (278) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +99 -0
  3. package/cordis.patch.yml +5 -0
  4. package/lib/index.js +195 -0
  5. package/package.json +46 -0
  6. package/skills/accessibility/SKILL.md +147 -0
  7. package/skills/agent-architecture-audit/SKILL.md +257 -0
  8. package/skills/agent-eval/SKILL.md +147 -0
  9. package/skills/agent-harness-construction/SKILL.md +74 -0
  10. package/skills/agent-introspection-debugging/SKILL.md +154 -0
  11. package/skills/agent-payment-x402/SKILL.md +225 -0
  12. package/skills/agent-self-evaluation/SKILL.md +182 -0
  13. package/skills/agent-sort/SKILL.md +216 -0
  14. package/skills/agentic-engineering/SKILL.md +64 -0
  15. package/skills/agentic-os/SKILL.md +388 -0
  16. package/skills/ai-first-engineering/SKILL.md +52 -0
  17. package/skills/ai-regression-testing/SKILL.md +386 -0
  18. package/skills/android-clean-architecture/SKILL.md +340 -0
  19. package/skills/angular-developer/SKILL.md +155 -0
  20. package/skills/api-connector-builder/SKILL.md +121 -0
  21. package/skills/api-design/SKILL.md +524 -0
  22. package/skills/architecture-decision-records/SKILL.md +180 -0
  23. package/skills/article-writing/SKILL.md +80 -0
  24. package/skills/automation-audit-ops/SKILL.md +143 -0
  25. package/skills/autonomous-agent-harness/SKILL.md +274 -0
  26. package/skills/autonomous-loops/SKILL.md +611 -0
  27. package/skills/backend-patterns/SKILL.md +562 -0
  28. package/skills/benchmark/SKILL.md +95 -0
  29. package/skills/benchmark-methodology/SKILL.md +191 -0
  30. package/skills/benchmark-optimization-loop/SKILL.md +71 -0
  31. package/skills/blender-motion-state-inspection/SKILL.md +165 -0
  32. package/skills/blueprint/SKILL.md +106 -0
  33. package/skills/brand-discovery/SKILL.md +145 -0
  34. package/skills/brand-voice/SKILL.md +98 -0
  35. package/skills/browser-qa/SKILL.md +105 -0
  36. package/skills/bun-runtime/SKILL.md +85 -0
  37. package/skills/canary-watch/SKILL.md +108 -0
  38. package/skills/carrier-relationship-management/SKILL.md +212 -0
  39. package/skills/cisco-ios-patterns/SKILL.md +164 -0
  40. package/skills/ck/SKILL.md +148 -0
  41. package/skills/claude-devfleet/SKILL.md +112 -0
  42. package/skills/click-path-audit/SKILL.md +245 -0
  43. package/skills/clickhouse-io/SKILL.md +445 -0
  44. package/skills/code-tour/SKILL.md +254 -0
  45. package/skills/codebase-onboarding/SKILL.md +234 -0
  46. package/skills/codehealth-mcp/SKILL.md +167 -0
  47. package/skills/coding-standards/SKILL.md +551 -0
  48. package/skills/competitive-platform-analysis/SKILL.md +214 -0
  49. package/skills/competitive-report-structure/SKILL.md +162 -0
  50. package/skills/compose-multiplatform-patterns/SKILL.md +300 -0
  51. package/skills/config-gc/SKILL.md +120 -0
  52. package/skills/configure-ecc/SKILL.md +206 -0
  53. package/skills/connections-optimizer/SKILL.md +190 -0
  54. package/skills/content-engine/SKILL.md +132 -0
  55. package/skills/content-hash-cache-pattern/SKILL.md +162 -0
  56. package/skills/context-budget/SKILL.md +136 -0
  57. package/skills/continuous-agent-loop/SKILL.md +46 -0
  58. package/skills/contract-first/SKILL.md +287 -0
  59. package/skills/cost-aware-llm-pipeline/SKILL.md +184 -0
  60. package/skills/cost-tracking/SKILL.md +97 -0
  61. package/skills/council/SKILL.md +204 -0
  62. package/skills/council-multi-model/SKILL.md +167 -0
  63. package/skills/cpp-coding-standards/SKILL.md +724 -0
  64. package/skills/cpp-testing/SKILL.md +325 -0
  65. package/skills/crosspost/SKILL.md +112 -0
  66. package/skills/csharp-testing/SKILL.md +322 -0
  67. package/skills/customer-billing-ops/SKILL.md +141 -0
  68. package/skills/customs-trade-compliance/SKILL.md +263 -0
  69. package/skills/dart-flutter-patterns/SKILL.md +564 -0
  70. package/skills/dashboard-builder/SKILL.md +109 -0
  71. package/skills/data-scraper-agent/SKILL.md +765 -0
  72. package/skills/data-throughput-accelerator/SKILL.md +74 -0
  73. package/skills/database-migrations/SKILL.md +430 -0
  74. package/skills/deep-research/SKILL.md +160 -0
  75. package/skills/defi-amm-security/SKILL.md +167 -0
  76. package/skills/delivery-gate/SKILL.md +126 -0
  77. package/skills/deployment-patterns/SKILL.md +428 -0
  78. package/skills/design-system/SKILL.md +83 -0
  79. package/skills/dev-team/SKILL.md +203 -0
  80. package/skills/django-celery/SKILL.md +458 -0
  81. package/skills/django-patterns/SKILL.md +735 -0
  82. package/skills/django-security/SKILL.md +644 -0
  83. package/skills/django-tdd/SKILL.md +730 -0
  84. package/skills/django-verification/SKILL.md +470 -0
  85. package/skills/dmux-workflows/SKILL.md +192 -0
  86. package/skills/docker-patterns/SKILL.md +520 -0
  87. package/skills/documentation-lookup/SKILL.md +91 -0
  88. package/skills/dotnet-patterns/SKILL.md +322 -0
  89. package/skills/dynamic-workflow-mode/SKILL.md +124 -0
  90. package/skills/e2e-testing/SKILL.md +327 -0
  91. package/skills/ecc-tools-cost-audit/SKILL.md +161 -0
  92. package/skills/email-ops/SKILL.md +122 -0
  93. package/skills/energy-procurement/SKILL.md +228 -0
  94. package/skills/enterprise-agent-ops/SKILL.md +51 -0
  95. package/skills/error-handling/SKILL.md +377 -0
  96. package/skills/eval-harness/SKILL.md +271 -0
  97. package/skills/evm-token-decimals/SKILL.md +131 -0
  98. package/skills/exa-search/SKILL.md +108 -0
  99. package/skills/fal-ai-media/SKILL.md +289 -0
  100. package/skills/fastapi-patterns/SKILL.md +514 -0
  101. package/skills/finance-billing-ops/SKILL.md +128 -0
  102. package/skills/flox-environments/SKILL.md +497 -0
  103. package/skills/flutter-dart-code-review/SKILL.md +436 -0
  104. package/skills/foundation-models-on-device/SKILL.md +243 -0
  105. package/skills/frontend-a11y/SKILL.md +446 -0
  106. package/skills/frontend-design-direction/SKILL.md +93 -0
  107. package/skills/frontend-patterns/SKILL.md +657 -0
  108. package/skills/fsharp-testing/SKILL.md +281 -0
  109. package/skills/gan-style-harness/SKILL.md +279 -0
  110. package/skills/generating-python-installer/SKILL.md +820 -0
  111. package/skills/git-workflow/SKILL.md +716 -0
  112. package/skills/github-ops/SKILL.md +145 -0
  113. package/skills/golang-patterns/SKILL.md +676 -0
  114. package/skills/golang-testing/SKILL.md +721 -0
  115. package/skills/google-workspace-ops/SKILL.md +96 -0
  116. package/skills/growth-log/SKILL.md +128 -0
  117. package/skills/healthcare-cdss-patterns/SKILL.md +246 -0
  118. package/skills/healthcare-emr-patterns/SKILL.md +160 -0
  119. package/skills/healthcare-eval-harness/SKILL.md +208 -0
  120. package/skills/healthcare-phi-compliance/SKILL.md +146 -0
  121. package/skills/hermes-imports/SKILL.md +89 -0
  122. package/skills/hexagonal-architecture/SKILL.md +277 -0
  123. package/skills/hipaa-compliance/SKILL.md +79 -0
  124. package/skills/homelab-network-readiness/SKILL.md +170 -0
  125. package/skills/homelab-network-setup/SKILL.md +130 -0
  126. package/skills/homelab-pihole-dns/SKILL.md +275 -0
  127. package/skills/homelab-vlan-segmentation/SKILL.md +312 -0
  128. package/skills/homelab-wireguard-vpn/SKILL.md +306 -0
  129. package/skills/hookify-rules/SKILL.md +128 -0
  130. package/skills/inherit-legacy-style/SKILL.md +157 -0
  131. package/skills/intent-driven-development/SKILL.md +360 -0
  132. package/skills/inventory-demand-planning/SKILL.md +247 -0
  133. package/skills/investor-materials/SKILL.md +97 -0
  134. package/skills/investor-outreach/SKILL.md +92 -0
  135. package/skills/ios-icon-gen/SKILL.md +158 -0
  136. package/skills/iterative-retrieval/SKILL.md +212 -0
  137. package/skills/ito-baskets/SKILL.md +263 -0
  138. package/skills/ito-compute/SKILL.md +151 -0
  139. package/skills/ito-inference/SKILL.md +119 -0
  140. package/skills/ito-training/SKILL.md +123 -0
  141. package/skills/java-coding-standards/SKILL.md +384 -0
  142. package/skills/jira-integration/SKILL.md +303 -0
  143. package/skills/jpa-patterns/SKILL.md +152 -0
  144. package/skills/knowledge-ops/SKILL.md +155 -0
  145. package/skills/kotlin-coroutines-flows/SKILL.md +285 -0
  146. package/skills/kotlin-exposed-patterns/SKILL.md +720 -0
  147. package/skills/kotlin-ktor-patterns/SKILL.md +690 -0
  148. package/skills/kotlin-patterns/SKILL.md +712 -0
  149. package/skills/kotlin-testing/SKILL.md +825 -0
  150. package/skills/kubernetes-patterns/SKILL.md +756 -0
  151. package/skills/laravel-patterns/SKILL.md +416 -0
  152. package/skills/laravel-plugin-discovery/SKILL.md +230 -0
  153. package/skills/laravel-security/SKILL.md +948 -0
  154. package/skills/laravel-tdd/SKILL.md +675 -0
  155. package/skills/laravel-verification/SKILL.md +180 -0
  156. package/skills/latency-critical-systems/SKILL.md +75 -0
  157. package/skills/lead-intelligence/SKILL.md +322 -0
  158. package/skills/liquid-glass-design/SKILL.md +279 -0
  159. package/skills/living-docs-governance/SKILL.md +137 -0
  160. package/skills/llm-trading-agent-security/SKILL.md +147 -0
  161. package/skills/logistics-exception-management/SKILL.md +222 -0
  162. package/skills/loop-design-check/SKILL.md +143 -0
  163. package/skills/mailtrap-email-integration/SKILL.md +77 -0
  164. package/skills/make-interfaces-feel-better/SKILL.md +152 -0
  165. package/skills/manim-video/SKILL.md +90 -0
  166. package/skills/market-research/SKILL.md +76 -0
  167. package/skills/marketing-campaign/SKILL.md +114 -0
  168. package/skills/mcp-server-patterns/SKILL.md +70 -0
  169. package/skills/messages-ops/SKILL.md +105 -0
  170. package/skills/ml-adoption-playbook/SKILL.md +57 -0
  171. package/skills/mle-workflow/SKILL.md +348 -0
  172. package/skills/motion-advanced/SKILL.md +597 -0
  173. package/skills/motion-foundations/SKILL.md +300 -0
  174. package/skills/motion-patterns/SKILL.md +435 -0
  175. package/skills/motion-ui/SKILL.md +576 -0
  176. package/skills/mysql-patterns/SKILL.md +413 -0
  177. package/skills/nanoclaw-repl/SKILL.md +34 -0
  178. package/skills/nasiko-control-plane/SKILL.md +49 -0
  179. package/skills/nestjs-patterns/SKILL.md +231 -0
  180. package/skills/netmiko-ssh-automation/SKILL.md +174 -0
  181. package/skills/network-bgp-diagnostics/SKILL.md +168 -0
  182. package/skills/network-config-validation/SKILL.md +211 -0
  183. package/skills/network-interface-health/SKILL.md +153 -0
  184. package/skills/nextjs-turbopack/SKILL.md +58 -0
  185. package/skills/nodejs-keccak256/SKILL.md +103 -0
  186. package/skills/nutrient-document-processing/SKILL.md +168 -0
  187. package/skills/nuxt4-patterns/SKILL.md +101 -0
  188. package/skills/opensource-pipeline/SKILL.md +256 -0
  189. package/skills/orch-add-feature/SKILL.md +45 -0
  190. package/skills/orch-build-mvp/SKILL.md +49 -0
  191. package/skills/orch-change-feature/SKILL.md +43 -0
  192. package/skills/orch-fix-defect/SKILL.md +43 -0
  193. package/skills/orch-pipeline/SKILL.md +121 -0
  194. package/skills/orch-refine-code/SKILL.md +44 -0
  195. package/skills/parallel-execution-optimizer/SKILL.md +74 -0
  196. package/skills/perl-patterns/SKILL.md +505 -0
  197. package/skills/perl-security/SKILL.md +504 -0
  198. package/skills/perl-testing/SKILL.md +476 -0
  199. package/skills/plan-canvas/SKILL.md +196 -0
  200. package/skills/plankton-code-quality/SKILL.md +237 -0
  201. package/skills/postgres-patterns/SKILL.md +148 -0
  202. package/skills/prediction-market-oracle-research/SKILL.md +64 -0
  203. package/skills/prediction-market-risk-review/SKILL.md +61 -0
  204. package/skills/prisma-patterns/SKILL.md +401 -0
  205. package/skills/product-capability/SKILL.md +142 -0
  206. package/skills/product-lens/SKILL.md +93 -0
  207. package/skills/production-audit/SKILL.md +207 -0
  208. package/skills/production-scheduling/SKILL.md +238 -0
  209. package/skills/project-flow-ops/SKILL.md +112 -0
  210. package/skills/prompt-optimizer/SKILL.md +398 -0
  211. package/skills/python-patterns/SKILL.md +751 -0
  212. package/skills/python-testing/SKILL.md +817 -0
  213. package/skills/pytorch-patterns/SKILL.md +397 -0
  214. package/skills/quality-nonconformance/SKILL.md +260 -0
  215. package/skills/quarkus-patterns/SKILL.md +723 -0
  216. package/skills/quarkus-security/SKILL.md +468 -0
  217. package/skills/quarkus-tdd/SKILL.md +812 -0
  218. package/skills/quarkus-verification/SKILL.md +481 -0
  219. package/skills/ralphinho-rfc-pipeline/SKILL.md +68 -0
  220. package/skills/react-native-patterns/SKILL.md +326 -0
  221. package/skills/react-patterns/SKILL.md +342 -0
  222. package/skills/react-performance/SKILL.md +575 -0
  223. package/skills/react-testing/SKILL.md +424 -0
  224. package/skills/recsys-pipeline-architect/SKILL.md +115 -0
  225. package/skills/recursive-decision-ledger/SKILL.md +81 -0
  226. package/skills/redis-patterns/SKILL.md +404 -0
  227. package/skills/regex-vs-llm-structured-text/SKILL.md +221 -0
  228. package/skills/remotion-video-creation/SKILL.md +43 -0
  229. package/skills/repo-scan/SKILL.md +170 -0
  230. package/skills/research-ops/SKILL.md +113 -0
  231. package/skills/returns-reverse-logistics/SKILL.md +240 -0
  232. package/skills/rules-distill/SKILL.md +265 -0
  233. package/skills/rust-patterns/SKILL.md +500 -0
  234. package/skills/rust-testing/SKILL.md +501 -0
  235. package/skills/safety-guard/SKILL.md +76 -0
  236. package/skills/santa-method/SKILL.md +307 -0
  237. package/skills/scientific-db-pubmed-database/SKILL.md +176 -0
  238. package/skills/scientific-db-uspto-database/SKILL.md +178 -0
  239. package/skills/scientific-pkg-gget/SKILL.md +167 -0
  240. package/skills/scientific-thinking-literature-review/SKILL.md +193 -0
  241. package/skills/scientific-thinking-scholar-evaluation/SKILL.md +161 -0
  242. package/skills/search-first/SKILL.md +183 -0
  243. package/skills/security-bounty-hunter/SKILL.md +100 -0
  244. package/skills/security-scan/SKILL.md +166 -0
  245. package/skills/seo/SKILL.md +155 -0
  246. package/skills/skill-scout/SKILL.md +141 -0
  247. package/skills/skill-stocktake/SKILL.md +195 -0
  248. package/skills/social-graph-ranker/SKILL.md +155 -0
  249. package/skills/social-publisher/SKILL.md +130 -0
  250. package/skills/springboot-patterns/SKILL.md +315 -0
  251. package/skills/springboot-security/SKILL.md +273 -0
  252. package/skills/springboot-tdd/SKILL.md +159 -0
  253. package/skills/springboot-verification/SKILL.md +232 -0
  254. package/skills/swift-actor-persistence/SKILL.md +144 -0
  255. package/skills/swift-concurrency-6-2/SKILL.md +216 -0
  256. package/skills/swift-protocol-di-testing/SKILL.md +191 -0
  257. package/skills/swiftui-patterns/SKILL.md +259 -0
  258. package/skills/taste/SKILL.md +264 -0
  259. package/skills/tdd-workflow/SKILL.md +583 -0
  260. package/skills/team-agent-orchestration/SKILL.md +111 -0
  261. package/skills/team-builder/SKILL.md +169 -0
  262. package/skills/terminal-opener/SKILL.md +55 -0
  263. package/skills/terminal-ops/SKILL.md +110 -0
  264. package/skills/tinystruct-patterns/SKILL.md +279 -0
  265. package/skills/token-budget-advisor/SKILL.md +134 -0
  266. package/skills/ui-demo/SKILL.md +466 -0
  267. package/skills/ui-to-vue/SKILL.md +135 -0
  268. package/skills/uncloud/SKILL.md +344 -0
  269. package/skills/unified-memory/SKILL.md +170 -0
  270. package/skills/unified-notifications-ops/SKILL.md +188 -0
  271. package/skills/verification-loop/SKILL.md +129 -0
  272. package/skills/video-editing/SKILL.md +311 -0
  273. package/skills/videodb/SKILL.md +375 -0
  274. package/skills/vite-patterns/SKILL.md +450 -0
  275. package/skills/vue-patterns/SKILL.md +471 -0
  276. package/skills/windows-desktop-e2e/SKILL.md +888 -0
  277. package/skills/workspace-surface-audit/SKILL.md +126 -0
  278. package/skills/x-api/SKILL.md +235 -0
@@ -0,0 +1,195 @@
1
+ ---
2
+ name: skill-stocktake
3
+ description: "Use when auditing Claude skills and commands for quality. Supports Quick Scan (changed skills only) and Full Stocktake modes with sequential subagent batch evaluation."
4
+ metadata:
5
+ origin: ECC
6
+ ---
7
+
8
+ # skill-stocktake
9
+
10
+ Slash command (`/skill-stocktake`) that audits all Claude skills and commands using a quality checklist + AI holistic judgment. Supports two modes: Quick Scan for recently changed skills, and Full Stocktake for a complete review.
11
+
12
+ ## Scope
13
+
14
+ The command targets the following paths **relative to the directory where it is invoked**:
15
+
16
+ | Path | Description |
17
+ |------|-------------|
18
+ | `~/.claude/skills/` | Global skills (all projects) |
19
+ | `{cwd}/.claude/skills/` | Project-level skills (if the directory exists) |
20
+
21
+ **At the start of Phase 1, the command explicitly lists which paths were found and scanned.**
22
+
23
+ ### Targeting a specific project
24
+
25
+ To include project-level skills, run from that project's root directory:
26
+
27
+ ```bash
28
+ cd ~/path/to/my-project
29
+ /skill-stocktake
30
+ ```
31
+
32
+ If the project has no `.claude/skills/` directory, only global skills and commands are evaluated.
33
+
34
+ ## Modes
35
+
36
+ | Mode | Trigger | Duration |
37
+ |------|---------|---------|
38
+ | Quick Scan | `results.json` exists (default) | 5–10 min |
39
+ | Full Stocktake | `results.json` absent, or `/skill-stocktake full` | 20–30 min |
40
+
41
+ **Results cache:** `~/.claude/skills/skill-stocktake/results.json`
42
+
43
+ ## Quick Scan Flow
44
+
45
+ Re-evaluate only skills that have changed since the last run (5–10 min).
46
+
47
+ 1. Read `~/.claude/skills/skill-stocktake/results.json`
48
+ 2. Run: `bash ~/.claude/skills/skill-stocktake/scripts/quick-diff.sh \
49
+ ~/.claude/skills/skill-stocktake/results.json`
50
+ (Project dir is auto-detected from `$PWD/.claude/skills`; pass it explicitly only if needed)
51
+ 3. If output is `[]`: report "No changes since last run." and stop
52
+ 4. Re-evaluate only those changed files using the same Phase 2 criteria
53
+ 5. Carry forward unchanged skills from previous results
54
+ 6. Output only the diff
55
+ 7. Run: `bash ~/.claude/skills/skill-stocktake/scripts/save-results.sh \
56
+ ~/.claude/skills/skill-stocktake/results.json <<< "$EVAL_RESULTS"`
57
+
58
+ ## Full Stocktake Flow
59
+
60
+ ### Phase 1 — Inventory
61
+
62
+ Run: `bash ~/.claude/skills/skill-stocktake/scripts/scan.sh`
63
+
64
+ The script enumerates skill files, extracts frontmatter, and collects UTC mtimes.
65
+ Project dir is auto-detected from `$PWD/.claude/skills`; pass it explicitly only if needed.
66
+ Present the scan summary and inventory table from the script output:
67
+
68
+ ```
69
+ Scanning:
70
+ ✓ ~/.claude/skills/ (17 files)
71
+ ✗ {cwd}/.claude/skills/ (not found — global skills only)
72
+ ```
73
+
74
+ | Skill | 7d use | 30d use | Description |
75
+ |-------|--------|---------|-------------|
76
+
77
+ ### Phase 2 — Quality Evaluation
78
+
79
+ Launch an Agent tool subagent (**general-purpose agent**) with the full inventory and checklist:
80
+
81
+ ```text
82
+ Agent(
83
+ subagent_type="general-purpose",
84
+ prompt="
85
+ Evaluate the following skill inventory against the checklist.
86
+
87
+ [INVENTORY]
88
+
89
+ [CHECKLIST]
90
+
91
+ Return JSON for each skill:
92
+ { \"verdict\": \"Keep\"|\"Improve\"|\"Update\"|\"Retire\"|\"Merge into [X]\", \"reason\": \"...\" }
93
+ "
94
+ )
95
+ ```
96
+
97
+ The subagent reads each skill, applies the checklist, and returns per-skill JSON:
98
+
99
+ `{ "verdict": "Keep"|"Improve"|"Update"|"Retire"|"Merge into [X]", "reason": "..." }`
100
+
101
+ **Chunk guidance:** Process ~20 skills per subagent invocation to keep context manageable. Save intermediate results to `results.json` (`status: "in_progress"`) after each chunk.
102
+
103
+ After all skills are evaluated: set `status: "completed"`, proceed to Phase 3.
104
+
105
+ **Resume detection:** If `status: "in_progress"` is found on startup, resume from the first unevaluated skill.
106
+
107
+ Each skill is evaluated against this checklist:
108
+
109
+ ```
110
+ - [ ] Content overlap with other skills checked
111
+ - [ ] Overlap with MEMORY.md / CLAUDE.md checked
112
+ - [ ] Freshness of technical references verified (use WebSearch if tool names / CLI flags / APIs are present)
113
+ - [ ] Usage frequency considered
114
+ ```
115
+
116
+ Verdict criteria:
117
+
118
+ | Verdict | Meaning |
119
+ |---------|---------|
120
+ | Keep | Useful and current |
121
+ | Improve | Worth keeping, but specific improvements needed |
122
+ | Update | Referenced technology is outdated (verify with WebSearch) |
123
+ | Retire | Low quality, stale, or cost-asymmetric |
124
+ | Merge into [X] | Substantial overlap with another skill; name the merge target |
125
+
126
+ Evaluation is **holistic AI judgment** — not a numeric rubric. Guiding dimensions:
127
+ - **Actionability**: code examples, commands, or steps that let you act immediately
128
+ - **Scope fit**: name, trigger, and content are aligned; not too broad or narrow
129
+ - **Uniqueness**: value not replaceable by MEMORY.md / CLAUDE.md / another skill
130
+ - **Currency**: technical references work in the current environment
131
+
132
+ **Reason quality requirements** — the `reason` field must be self-contained and decision-enabling:
133
+ - Do NOT write "unchanged" alone — always restate the core evidence
134
+ - For **Retire**: state (1) what specific defect was found, (2) what covers the same need instead
135
+ - Bad: `"Superseded"`
136
+ - Good: `"disable-model-invocation: true already set; superseded by continuous-learning-v2 which covers all the same patterns plus confidence scoring. No unique content remains."`
137
+ - For **Merge**: name the target and describe what content to integrate
138
+ - Bad: `"Overlaps with X"`
139
+ - Good: `"42-line thin content; Step 4 of chatlog-to-article already covers the same workflow. Integrate the 'article angle' tip as a note in that skill."`
140
+ - For **Improve**: describe the specific change needed (what section, what action, target size if relevant)
141
+ - Bad: `"Too long"`
142
+ - Good: `"276 lines; Section 'Framework Comparison' (L80–140) duplicates ai-era-architecture-principles; delete it to reach ~150 lines."`
143
+ - For **Keep** (mtime-only change in Quick Scan): restate the original verdict rationale, do not write "unchanged"
144
+ - Bad: `"Unchanged"`
145
+ - Good: `"mtime updated but content unchanged. Unique Python reference explicitly imported by rules/python/; no overlap found."`
146
+
147
+ ### Phase 3 — Summary Table
148
+
149
+ | Skill | 7d use | Verdict | Reason |
150
+ |-------|--------|---------|--------|
151
+
152
+ ### Phase 4 — Consolidation
153
+
154
+ 1. **Retire / Merge**: present detailed justification per file before confirming with user:
155
+ - What specific problem was found (overlap, staleness, broken references, etc.)
156
+ - What alternative covers the same functionality (for Retire: which existing skill/rule; for Merge: the target file and what content to integrate)
157
+ - Impact of removal (any dependent skills, MEMORY.md references, or workflows affected)
158
+ 2. **Improve**: present specific improvement suggestions with rationale:
159
+ - What to change and why (e.g., "trim 430→200 lines because sections X/Y duplicate python-patterns")
160
+ - User decides whether to act
161
+ 3. **Update**: present updated content with sources checked
162
+ 4. Check MEMORY.md line count; propose compression if >100 lines
163
+
164
+ ## Results File Schema
165
+
166
+ `~/.claude/skills/skill-stocktake/results.json`:
167
+
168
+ **`evaluated_at`**: Must be set to the actual UTC time of evaluation completion.
169
+ Obtain via Bash: `date -u +%Y-%m-%dT%H:%M:%SZ`. Never use a date-only approximation like `T00:00:00Z`.
170
+
171
+ ```json
172
+ {
173
+ "evaluated_at": "2026-02-21T10:00:00Z",
174
+ "mode": "full",
175
+ "batch_progress": {
176
+ "total": 80,
177
+ "evaluated": 80,
178
+ "status": "completed"
179
+ },
180
+ "skills": {
181
+ "skill-name": {
182
+ "path": "~/.claude/skills/skill-name/SKILL.md",
183
+ "verdict": "Keep",
184
+ "reason": "Concrete, actionable, unique value for X workflow",
185
+ "mtime": "2026-01-15T08:30:00Z"
186
+ }
187
+ }
188
+ }
189
+ ```
190
+
191
+ ## Notes
192
+
193
+ - Evaluation is blind: the same checklist applies to all skills regardless of origin (ECC, self-authored, auto-extracted)
194
+ - Archive / delete operations always require explicit user confirmation
195
+ - No verdict branching by skill origin
@@ -0,0 +1,155 @@
1
+ ---
2
+ name: social-graph-ranker
3
+ description: Weighted social-graph ranking for warm intro discovery, bridge scoring, and network gap analysis across X and LinkedIn. Use when the user wants the reusable graph-ranking engine itself, not the broader outreach or network-maintenance workflow layered on top of it.
4
+ metadata:
5
+ origin: ECC
6
+ ---
7
+
8
+ # Social Graph Ranker
9
+
10
+ Canonical weighted graph-ranking layer for network-aware outreach.
11
+
12
+ Use this when the user needs to:
13
+
14
+ - rank existing mutuals or connections by intro value
15
+ - map warm paths to a target list
16
+ - measure bridge value across first- and second-order connections
17
+ - decide which targets deserve warm intros versus direct cold outreach
18
+ - understand the graph math independently from `lead-intelligence` or `connections-optimizer`
19
+
20
+ ## When To Use This Standalone
21
+
22
+ Choose this skill when the user primarily wants the ranking engine:
23
+
24
+ - "who in my network is best positioned to introduce me?"
25
+ - "rank my mutuals by who can get me to these people"
26
+ - "map my graph against this ICP"
27
+ - "show me the bridge math"
28
+
29
+ Do not use this by itself when the user really wants:
30
+
31
+ - full lead generation and outbound sequencing -> use `lead-intelligence`
32
+ - pruning, rebalancing, and growing the network -> use `connections-optimizer`
33
+
34
+ ## Inputs
35
+
36
+ Collect or infer:
37
+
38
+ - target people, companies, or ICP definition
39
+ - the user's current graph on X, LinkedIn, or both
40
+ - weighting priorities such as role, industry, geography, and responsiveness
41
+ - traversal depth and decay tolerance
42
+
43
+ ## Core Model
44
+
45
+ Given:
46
+
47
+ - `T` = weighted target set
48
+ - `M` = your current mutuals / direct connections
49
+ - `d(m, t)` = shortest hop distance from mutual `m` to target `t`
50
+ - `w(t)` = target weight from signal scoring
51
+
52
+ Base bridge score:
53
+
54
+ ```text
55
+ B(m) = Σ_{t ∈ T} w(t) · λ^(d(m,t) - 1)
56
+ ```
57
+
58
+ Where:
59
+
60
+ - `λ` is the decay factor, usually `0.5`
61
+ - a direct path contributes full value
62
+ - each extra hop halves the contribution
63
+
64
+ Second-order expansion:
65
+
66
+ ```text
67
+ B_ext(m) = B(m) + α · Σ_{m' ∈ N(m) \\ M} Σ_{t ∈ T} w(t) · λ^(d(m',t))
68
+ ```
69
+
70
+ Where:
71
+
72
+ - `N(m) \\ M` is the set of people the mutual knows that you do not
73
+ - `α` discounts second-order reach, usually `0.3`
74
+
75
+ Response-adjusted final ranking:
76
+
77
+ ```text
78
+ R(m) = B_ext(m) · (1 + β · engagement(m))
79
+ ```
80
+
81
+ Where:
82
+
83
+ - `engagement(m)` is normalized responsiveness or relationship strength
84
+ - `β` is the engagement bonus, usually `0.2`
85
+
86
+ Interpretation:
87
+
88
+ - Tier 1: high `R(m)` and direct bridge paths -> warm intro asks
89
+ - Tier 2: medium `R(m)` and one-hop bridge paths -> conditional intro asks
90
+ - Tier 3: low `R(m)` or no viable bridge -> direct outreach or follow-gap fill
91
+
92
+ ## Scoring Signals
93
+
94
+ Weight targets before graph traversal with whatever matters for the current priority set:
95
+
96
+ - role or title alignment
97
+ - company or industry fit
98
+ - current activity and recency
99
+ - geographic relevance
100
+ - influence or reach
101
+ - likelihood of response
102
+
103
+ Weight mutuals after traversal with:
104
+
105
+ - number of weighted paths into the target set
106
+ - directness of those paths
107
+ - responsiveness or prior interaction history
108
+ - contextual fit for making the intro
109
+
110
+ ## Workflow
111
+
112
+ 1. Build the weighted target set.
113
+ 2. Pull the user's graph from X, LinkedIn, or both.
114
+ 3. Compute direct bridge scores.
115
+ 4. Expand second-order candidates for the highest-value mutuals.
116
+ 5. Rank by `R(m)`.
117
+ 6. Return:
118
+ - best warm intro asks
119
+ - conditional bridge paths
120
+ - graph gaps where no warm path exists
121
+
122
+ ## Output Shape
123
+
124
+ ```text
125
+ SOCIAL GRAPH RANKING
126
+ ====================
127
+
128
+ Priority Set:
129
+ Platforms:
130
+ Decay Model:
131
+
132
+ Top Bridges
133
+ - mutual / connection
134
+ base_score:
135
+ extended_score:
136
+ best_targets:
137
+ path_summary:
138
+ recommended_action:
139
+
140
+ Conditional Paths
141
+ - mutual / connection
142
+ reason:
143
+ extra hop cost:
144
+
145
+ No Warm Path
146
+ - target
147
+ recommendation: direct outreach / fill graph gap
148
+ ```
149
+
150
+ ## Related Skills
151
+
152
+ - `lead-intelligence` uses this ranking model inside the broader target-discovery and outreach pipeline
153
+ - `connections-optimizer` uses the same bridge logic when deciding who to keep, prune, or add
154
+ - `brand-voice` should run before drafting any intro request or direct outreach
155
+ - `x-api` provides X graph access and optional execution paths
@@ -0,0 +1,130 @@
1
+ ---
2
+ name: social-publisher
3
+ description: Agent-driven scheduling and publishing of social media posts across 13 platforms via SocialClaw. Use when the user wants to publish to X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, or Pinterest — or when managing campaigns, uploading media, or monitoring post delivery status.
4
+ metadata:
5
+ origin: community
6
+ ---
7
+
8
+ # Social Publisher (SocialClaw)
9
+
10
+ Connects Claude Code to [SocialClaw](https://getsocialclaw.com) for agent-driven social media publishing across 13 platforms through a single workspace API key.
11
+
12
+ ## When to Activate
13
+
14
+ - publish content to X, LinkedIn, Instagram, TikTok, or other platforms
15
+ - schedule a post campaign across multiple platforms at once
16
+ - upload media for use in social posts
17
+ - validate a post schedule before going live
18
+ - monitor publishing run status and delivery analytics
19
+
20
+ ## Setup
21
+
22
+ ```bash
23
+ # Required: workspace API key from https://getsocialclaw.com/dashboard
24
+ export SC_API_KEY="<workspace-key>"
25
+
26
+ # Verify access
27
+ printf 'header = "Authorization: Bearer %s"\n' "$SC_API_KEY" |
28
+ curl -sS -K - https://getsocialclaw.com/v1/keys/validate
29
+
30
+ # Install CLI (optional but recommended)
31
+ npm install -g socialclaw@0.1.12
32
+ socialclaw login --api-key <workspace-key>
33
+ ```
34
+
35
+ ## Core Workflow
36
+
37
+ ### 1. List connected accounts
38
+ ```bash
39
+ socialclaw accounts list --json
40
+ ```
41
+
42
+ If not connected:
43
+ ```bash
44
+ socialclaw accounts connect --provider x --open
45
+ socialclaw accounts connect --provider linkedin --open
46
+ ```
47
+
48
+ ### 2. Upload media (optional)
49
+ ```bash
50
+ socialclaw assets upload --file ./image.png --json
51
+ # → { "asset_id": "..." }
52
+ ```
53
+
54
+ ### 3. Build schedule.json
55
+ ```json
56
+ {
57
+ "posts": [
58
+ {
59
+ "provider": "x",
60
+ "account_id": "<account-id>",
61
+ "text": "Post text here",
62
+ "scheduled_at": "2026-06-01T10:00:00Z"
63
+ }
64
+ ]
65
+ }
66
+ ```
67
+
68
+ ### Optional X/Twitter evidence packet
69
+
70
+ Before building an X schedule, collect a source packet when the campaign depends on live audience signals rather than the draft alone.
71
+
72
+ For OpenClaw users who have already approved TweetClaw in their dependency policy, use the pinned package as a separate evidence source:
73
+
74
+ ```bash
75
+ openclaw plugins install npm:@xquik/tweetclaw@1.6.31
76
+ ```
77
+
78
+ Use it for public tweet search, reply search, follower export, user lookup, media review, monitors, or giveaway evidence. Keep the output as research input for `schedule.json`; SocialClaw remains responsible for validation, scheduling, publishing, and delivery status. Store TweetClaw credentials in its plugin config, not in `SC_API_KEY`, schedule files, or campaign assets. Do not install it as a default ECC or SocialClaw dependency.
79
+
80
+ ### 4. Validate before publishing
81
+ ```bash
82
+ socialclaw validate -f schedule.json --json
83
+ ```
84
+
85
+ ### 5. Publish
86
+ ```bash
87
+ socialclaw apply -f schedule.json --json
88
+ # → { "run_id": "..." }
89
+ ```
90
+
91
+ ### 6. Monitor
92
+ ```bash
93
+ socialclaw status --run-id <run-id> --json
94
+ socialclaw posts list --json
95
+ ```
96
+
97
+ ## Supported Providers
98
+
99
+ | Provider | Key |
100
+ |----------|-----|
101
+ | X (Twitter) | `x` |
102
+ | LinkedIn profile | `linkedin` |
103
+ | LinkedIn page | `linkedin_page` |
104
+ | Instagram Business | `instagram_business` |
105
+ | Instagram standalone | `instagram` |
106
+ | Facebook Page | `facebook` |
107
+ | TikTok | `tiktok` |
108
+ | YouTube | `youtube` |
109
+ | Reddit | `reddit` |
110
+ | WordPress | `wordpress` |
111
+ | Discord | `discord` |
112
+ | Telegram | `telegram` |
113
+ | Pinterest | `pinterest` |
114
+
115
+ ## Security
116
+
117
+ - Outbound requests go to `getsocialclaw.com` only
118
+ - Provider OAuth is in the SocialClaw dashboard — no per-provider secrets exposed to the agent
119
+ - `SC_API_KEY` is a workspace-scoped key
120
+
121
+ ## Related Skills
122
+
123
+ - `x-api` — direct X/Twitter API operations
124
+ - `social-graph-ranker` — network analysis for outreach targeting
125
+ - `TweetClaw` - optional approved OpenClaw X/Twitter source evidence before SocialClaw scheduling
126
+
127
+ ## Source
128
+
129
+ - npm: `npm install -g socialclaw@0.1.12`
130
+ - Dashboard: [SocialClaw dashboard](https://getsocialclaw.com/dashboard)