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.
- package/LICENSE +22 -0
- package/README.md +99 -0
- package/cordis.patch.yml +5 -0
- package/lib/index.js +195 -0
- package/package.json +46 -0
- package/skills/accessibility/SKILL.md +147 -0
- package/skills/agent-architecture-audit/SKILL.md +257 -0
- package/skills/agent-eval/SKILL.md +147 -0
- package/skills/agent-harness-construction/SKILL.md +74 -0
- package/skills/agent-introspection-debugging/SKILL.md +154 -0
- package/skills/agent-payment-x402/SKILL.md +225 -0
- package/skills/agent-self-evaluation/SKILL.md +182 -0
- package/skills/agent-sort/SKILL.md +216 -0
- package/skills/agentic-engineering/SKILL.md +64 -0
- package/skills/agentic-os/SKILL.md +388 -0
- package/skills/ai-first-engineering/SKILL.md +52 -0
- package/skills/ai-regression-testing/SKILL.md +386 -0
- package/skills/android-clean-architecture/SKILL.md +340 -0
- package/skills/angular-developer/SKILL.md +155 -0
- package/skills/api-connector-builder/SKILL.md +121 -0
- package/skills/api-design/SKILL.md +524 -0
- package/skills/architecture-decision-records/SKILL.md +180 -0
- package/skills/article-writing/SKILL.md +80 -0
- package/skills/automation-audit-ops/SKILL.md +143 -0
- package/skills/autonomous-agent-harness/SKILL.md +274 -0
- package/skills/autonomous-loops/SKILL.md +611 -0
- package/skills/backend-patterns/SKILL.md +562 -0
- package/skills/benchmark/SKILL.md +95 -0
- package/skills/benchmark-methodology/SKILL.md +191 -0
- package/skills/benchmark-optimization-loop/SKILL.md +71 -0
- package/skills/blender-motion-state-inspection/SKILL.md +165 -0
- package/skills/blueprint/SKILL.md +106 -0
- package/skills/brand-discovery/SKILL.md +145 -0
- package/skills/brand-voice/SKILL.md +98 -0
- package/skills/browser-qa/SKILL.md +105 -0
- package/skills/bun-runtime/SKILL.md +85 -0
- package/skills/canary-watch/SKILL.md +108 -0
- package/skills/carrier-relationship-management/SKILL.md +212 -0
- package/skills/cisco-ios-patterns/SKILL.md +164 -0
- package/skills/ck/SKILL.md +148 -0
- package/skills/claude-devfleet/SKILL.md +112 -0
- package/skills/click-path-audit/SKILL.md +245 -0
- package/skills/clickhouse-io/SKILL.md +445 -0
- package/skills/code-tour/SKILL.md +254 -0
- package/skills/codebase-onboarding/SKILL.md +234 -0
- package/skills/codehealth-mcp/SKILL.md +167 -0
- package/skills/coding-standards/SKILL.md +551 -0
- package/skills/competitive-platform-analysis/SKILL.md +214 -0
- package/skills/competitive-report-structure/SKILL.md +162 -0
- package/skills/compose-multiplatform-patterns/SKILL.md +300 -0
- package/skills/config-gc/SKILL.md +120 -0
- package/skills/configure-ecc/SKILL.md +206 -0
- package/skills/connections-optimizer/SKILL.md +190 -0
- package/skills/content-engine/SKILL.md +132 -0
- package/skills/content-hash-cache-pattern/SKILL.md +162 -0
- package/skills/context-budget/SKILL.md +136 -0
- package/skills/continuous-agent-loop/SKILL.md +46 -0
- package/skills/contract-first/SKILL.md +287 -0
- package/skills/cost-aware-llm-pipeline/SKILL.md +184 -0
- package/skills/cost-tracking/SKILL.md +97 -0
- package/skills/council/SKILL.md +204 -0
- package/skills/council-multi-model/SKILL.md +167 -0
- package/skills/cpp-coding-standards/SKILL.md +724 -0
- package/skills/cpp-testing/SKILL.md +325 -0
- package/skills/crosspost/SKILL.md +112 -0
- package/skills/csharp-testing/SKILL.md +322 -0
- package/skills/customer-billing-ops/SKILL.md +141 -0
- package/skills/customs-trade-compliance/SKILL.md +263 -0
- package/skills/dart-flutter-patterns/SKILL.md +564 -0
- package/skills/dashboard-builder/SKILL.md +109 -0
- package/skills/data-scraper-agent/SKILL.md +765 -0
- package/skills/data-throughput-accelerator/SKILL.md +74 -0
- package/skills/database-migrations/SKILL.md +430 -0
- package/skills/deep-research/SKILL.md +160 -0
- package/skills/defi-amm-security/SKILL.md +167 -0
- package/skills/delivery-gate/SKILL.md +126 -0
- package/skills/deployment-patterns/SKILL.md +428 -0
- package/skills/design-system/SKILL.md +83 -0
- package/skills/dev-team/SKILL.md +203 -0
- package/skills/django-celery/SKILL.md +458 -0
- package/skills/django-patterns/SKILL.md +735 -0
- package/skills/django-security/SKILL.md +644 -0
- package/skills/django-tdd/SKILL.md +730 -0
- package/skills/django-verification/SKILL.md +470 -0
- package/skills/dmux-workflows/SKILL.md +192 -0
- package/skills/docker-patterns/SKILL.md +520 -0
- package/skills/documentation-lookup/SKILL.md +91 -0
- package/skills/dotnet-patterns/SKILL.md +322 -0
- package/skills/dynamic-workflow-mode/SKILL.md +124 -0
- package/skills/e2e-testing/SKILL.md +327 -0
- package/skills/ecc-tools-cost-audit/SKILL.md +161 -0
- package/skills/email-ops/SKILL.md +122 -0
- package/skills/energy-procurement/SKILL.md +228 -0
- package/skills/enterprise-agent-ops/SKILL.md +51 -0
- package/skills/error-handling/SKILL.md +377 -0
- package/skills/eval-harness/SKILL.md +271 -0
- package/skills/evm-token-decimals/SKILL.md +131 -0
- package/skills/exa-search/SKILL.md +108 -0
- package/skills/fal-ai-media/SKILL.md +289 -0
- package/skills/fastapi-patterns/SKILL.md +514 -0
- package/skills/finance-billing-ops/SKILL.md +128 -0
- package/skills/flox-environments/SKILL.md +497 -0
- package/skills/flutter-dart-code-review/SKILL.md +436 -0
- package/skills/foundation-models-on-device/SKILL.md +243 -0
- package/skills/frontend-a11y/SKILL.md +446 -0
- package/skills/frontend-design-direction/SKILL.md +93 -0
- package/skills/frontend-patterns/SKILL.md +657 -0
- package/skills/fsharp-testing/SKILL.md +281 -0
- package/skills/gan-style-harness/SKILL.md +279 -0
- package/skills/generating-python-installer/SKILL.md +820 -0
- package/skills/git-workflow/SKILL.md +716 -0
- package/skills/github-ops/SKILL.md +145 -0
- package/skills/golang-patterns/SKILL.md +676 -0
- package/skills/golang-testing/SKILL.md +721 -0
- package/skills/google-workspace-ops/SKILL.md +96 -0
- package/skills/growth-log/SKILL.md +128 -0
- package/skills/healthcare-cdss-patterns/SKILL.md +246 -0
- package/skills/healthcare-emr-patterns/SKILL.md +160 -0
- package/skills/healthcare-eval-harness/SKILL.md +208 -0
- package/skills/healthcare-phi-compliance/SKILL.md +146 -0
- package/skills/hermes-imports/SKILL.md +89 -0
- package/skills/hexagonal-architecture/SKILL.md +277 -0
- package/skills/hipaa-compliance/SKILL.md +79 -0
- package/skills/homelab-network-readiness/SKILL.md +170 -0
- package/skills/homelab-network-setup/SKILL.md +130 -0
- package/skills/homelab-pihole-dns/SKILL.md +275 -0
- package/skills/homelab-vlan-segmentation/SKILL.md +312 -0
- package/skills/homelab-wireguard-vpn/SKILL.md +306 -0
- package/skills/hookify-rules/SKILL.md +128 -0
- package/skills/inherit-legacy-style/SKILL.md +157 -0
- package/skills/intent-driven-development/SKILL.md +360 -0
- package/skills/inventory-demand-planning/SKILL.md +247 -0
- package/skills/investor-materials/SKILL.md +97 -0
- package/skills/investor-outreach/SKILL.md +92 -0
- package/skills/ios-icon-gen/SKILL.md +158 -0
- package/skills/iterative-retrieval/SKILL.md +212 -0
- package/skills/ito-baskets/SKILL.md +263 -0
- package/skills/ito-compute/SKILL.md +151 -0
- package/skills/ito-inference/SKILL.md +119 -0
- package/skills/ito-training/SKILL.md +123 -0
- package/skills/java-coding-standards/SKILL.md +384 -0
- package/skills/jira-integration/SKILL.md +303 -0
- package/skills/jpa-patterns/SKILL.md +152 -0
- package/skills/knowledge-ops/SKILL.md +155 -0
- package/skills/kotlin-coroutines-flows/SKILL.md +285 -0
- package/skills/kotlin-exposed-patterns/SKILL.md +720 -0
- package/skills/kotlin-ktor-patterns/SKILL.md +690 -0
- package/skills/kotlin-patterns/SKILL.md +712 -0
- package/skills/kotlin-testing/SKILL.md +825 -0
- package/skills/kubernetes-patterns/SKILL.md +756 -0
- package/skills/laravel-patterns/SKILL.md +416 -0
- package/skills/laravel-plugin-discovery/SKILL.md +230 -0
- package/skills/laravel-security/SKILL.md +948 -0
- package/skills/laravel-tdd/SKILL.md +675 -0
- package/skills/laravel-verification/SKILL.md +180 -0
- package/skills/latency-critical-systems/SKILL.md +75 -0
- package/skills/lead-intelligence/SKILL.md +322 -0
- package/skills/liquid-glass-design/SKILL.md +279 -0
- package/skills/living-docs-governance/SKILL.md +137 -0
- package/skills/llm-trading-agent-security/SKILL.md +147 -0
- package/skills/logistics-exception-management/SKILL.md +222 -0
- package/skills/loop-design-check/SKILL.md +143 -0
- package/skills/mailtrap-email-integration/SKILL.md +77 -0
- package/skills/make-interfaces-feel-better/SKILL.md +152 -0
- package/skills/manim-video/SKILL.md +90 -0
- package/skills/market-research/SKILL.md +76 -0
- package/skills/marketing-campaign/SKILL.md +114 -0
- package/skills/mcp-server-patterns/SKILL.md +70 -0
- package/skills/messages-ops/SKILL.md +105 -0
- package/skills/ml-adoption-playbook/SKILL.md +57 -0
- package/skills/mle-workflow/SKILL.md +348 -0
- package/skills/motion-advanced/SKILL.md +597 -0
- package/skills/motion-foundations/SKILL.md +300 -0
- package/skills/motion-patterns/SKILL.md +435 -0
- package/skills/motion-ui/SKILL.md +576 -0
- package/skills/mysql-patterns/SKILL.md +413 -0
- package/skills/nanoclaw-repl/SKILL.md +34 -0
- package/skills/nasiko-control-plane/SKILL.md +49 -0
- package/skills/nestjs-patterns/SKILL.md +231 -0
- package/skills/netmiko-ssh-automation/SKILL.md +174 -0
- package/skills/network-bgp-diagnostics/SKILL.md +168 -0
- package/skills/network-config-validation/SKILL.md +211 -0
- package/skills/network-interface-health/SKILL.md +153 -0
- package/skills/nextjs-turbopack/SKILL.md +58 -0
- package/skills/nodejs-keccak256/SKILL.md +103 -0
- package/skills/nutrient-document-processing/SKILL.md +168 -0
- package/skills/nuxt4-patterns/SKILL.md +101 -0
- package/skills/opensource-pipeline/SKILL.md +256 -0
- package/skills/orch-add-feature/SKILL.md +45 -0
- package/skills/orch-build-mvp/SKILL.md +49 -0
- package/skills/orch-change-feature/SKILL.md +43 -0
- package/skills/orch-fix-defect/SKILL.md +43 -0
- package/skills/orch-pipeline/SKILL.md +121 -0
- package/skills/orch-refine-code/SKILL.md +44 -0
- package/skills/parallel-execution-optimizer/SKILL.md +74 -0
- package/skills/perl-patterns/SKILL.md +505 -0
- package/skills/perl-security/SKILL.md +504 -0
- package/skills/perl-testing/SKILL.md +476 -0
- package/skills/plan-canvas/SKILL.md +196 -0
- package/skills/plankton-code-quality/SKILL.md +237 -0
- package/skills/postgres-patterns/SKILL.md +148 -0
- package/skills/prediction-market-oracle-research/SKILL.md +64 -0
- package/skills/prediction-market-risk-review/SKILL.md +61 -0
- package/skills/prisma-patterns/SKILL.md +401 -0
- package/skills/product-capability/SKILL.md +142 -0
- package/skills/product-lens/SKILL.md +93 -0
- package/skills/production-audit/SKILL.md +207 -0
- package/skills/production-scheduling/SKILL.md +238 -0
- package/skills/project-flow-ops/SKILL.md +112 -0
- package/skills/prompt-optimizer/SKILL.md +398 -0
- package/skills/python-patterns/SKILL.md +751 -0
- package/skills/python-testing/SKILL.md +817 -0
- package/skills/pytorch-patterns/SKILL.md +397 -0
- package/skills/quality-nonconformance/SKILL.md +260 -0
- package/skills/quarkus-patterns/SKILL.md +723 -0
- package/skills/quarkus-security/SKILL.md +468 -0
- package/skills/quarkus-tdd/SKILL.md +812 -0
- package/skills/quarkus-verification/SKILL.md +481 -0
- package/skills/ralphinho-rfc-pipeline/SKILL.md +68 -0
- package/skills/react-native-patterns/SKILL.md +326 -0
- package/skills/react-patterns/SKILL.md +342 -0
- package/skills/react-performance/SKILL.md +575 -0
- package/skills/react-testing/SKILL.md +424 -0
- package/skills/recsys-pipeline-architect/SKILL.md +115 -0
- package/skills/recursive-decision-ledger/SKILL.md +81 -0
- package/skills/redis-patterns/SKILL.md +404 -0
- package/skills/regex-vs-llm-structured-text/SKILL.md +221 -0
- package/skills/remotion-video-creation/SKILL.md +43 -0
- package/skills/repo-scan/SKILL.md +170 -0
- package/skills/research-ops/SKILL.md +113 -0
- package/skills/returns-reverse-logistics/SKILL.md +240 -0
- package/skills/rules-distill/SKILL.md +265 -0
- package/skills/rust-patterns/SKILL.md +500 -0
- package/skills/rust-testing/SKILL.md +501 -0
- package/skills/safety-guard/SKILL.md +76 -0
- package/skills/santa-method/SKILL.md +307 -0
- package/skills/scientific-db-pubmed-database/SKILL.md +176 -0
- package/skills/scientific-db-uspto-database/SKILL.md +178 -0
- package/skills/scientific-pkg-gget/SKILL.md +167 -0
- package/skills/scientific-thinking-literature-review/SKILL.md +193 -0
- package/skills/scientific-thinking-scholar-evaluation/SKILL.md +161 -0
- package/skills/search-first/SKILL.md +183 -0
- package/skills/security-bounty-hunter/SKILL.md +100 -0
- package/skills/security-scan/SKILL.md +166 -0
- package/skills/seo/SKILL.md +155 -0
- package/skills/skill-scout/SKILL.md +141 -0
- package/skills/skill-stocktake/SKILL.md +195 -0
- package/skills/social-graph-ranker/SKILL.md +155 -0
- package/skills/social-publisher/SKILL.md +130 -0
- package/skills/springboot-patterns/SKILL.md +315 -0
- package/skills/springboot-security/SKILL.md +273 -0
- package/skills/springboot-tdd/SKILL.md +159 -0
- package/skills/springboot-verification/SKILL.md +232 -0
- package/skills/swift-actor-persistence/SKILL.md +144 -0
- package/skills/swift-concurrency-6-2/SKILL.md +216 -0
- package/skills/swift-protocol-di-testing/SKILL.md +191 -0
- package/skills/swiftui-patterns/SKILL.md +259 -0
- package/skills/taste/SKILL.md +264 -0
- package/skills/tdd-workflow/SKILL.md +583 -0
- package/skills/team-agent-orchestration/SKILL.md +111 -0
- package/skills/team-builder/SKILL.md +169 -0
- package/skills/terminal-opener/SKILL.md +55 -0
- package/skills/terminal-ops/SKILL.md +110 -0
- package/skills/tinystruct-patterns/SKILL.md +279 -0
- package/skills/token-budget-advisor/SKILL.md +134 -0
- package/skills/ui-demo/SKILL.md +466 -0
- package/skills/ui-to-vue/SKILL.md +135 -0
- package/skills/uncloud/SKILL.md +344 -0
- package/skills/unified-memory/SKILL.md +170 -0
- package/skills/unified-notifications-ops/SKILL.md +188 -0
- package/skills/verification-loop/SKILL.md +129 -0
- package/skills/video-editing/SKILL.md +311 -0
- package/skills/videodb/SKILL.md +375 -0
- package/skills/vite-patterns/SKILL.md +450 -0
- package/skills/vue-patterns/SKILL.md +471 -0
- package/skills/windows-desktop-e2e/SKILL.md +888 -0
- package/skills/workspace-surface-audit/SKILL.md +126 -0
- 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)
|