clawpowers 1.1.4 → 2.0.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 (75) hide show
  1. package/CHANGELOG.md +94 -0
  2. package/LICENSE +44 -0
  3. package/README.md +204 -228
  4. package/SECURITY.md +72 -0
  5. package/dist/index.d.ts +844 -0
  6. package/dist/index.js +2536 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +50 -44
  9. package/.claude-plugin/manifest.json +0 -19
  10. package/.codex/INSTALL.md +0 -36
  11. package/.cursor-plugin/manifest.json +0 -21
  12. package/.opencode/INSTALL.md +0 -52
  13. package/ARCHITECTURE.md +0 -69
  14. package/bin/clawpowers.js +0 -625
  15. package/bin/clawpowers.sh +0 -91
  16. package/docs/demo/clawpowers-demo.cast +0 -197
  17. package/docs/demo/clawpowers-demo.gif +0 -0
  18. package/docs/launch-images/25-skills-breakdown.jpg +0 -0
  19. package/docs/launch-images/clawpowers-vs-superpowers.jpg +0 -0
  20. package/docs/launch-images/economic-code-optimization.jpg +0 -0
  21. package/docs/launch-images/native-vs-bridge-2.jpg +0 -0
  22. package/docs/launch-images/native-vs-bridge.jpg +0 -0
  23. package/docs/launch-images/post1-hero-lobster.jpg +0 -0
  24. package/docs/launch-images/post2-dashboard.jpg +0 -0
  25. package/docs/launch-images/post3-superpowers.jpg +0 -0
  26. package/docs/launch-images/post4-before-after.jpg +0 -0
  27. package/docs/launch-images/post5-install-now.jpg +0 -0
  28. package/docs/launch-images/ultimate-stack.jpg +0 -0
  29. package/docs/launch-posts.md +0 -76
  30. package/docs/quickstart-first-transaction.md +0 -204
  31. package/gemini-extension.json +0 -32
  32. package/hooks/session-start +0 -205
  33. package/hooks/session-start.cmd +0 -43
  34. package/hooks/session-start.js +0 -163
  35. package/runtime/demo/README.md +0 -78
  36. package/runtime/demo/x402-mock-server.js +0 -230
  37. package/runtime/feedback/analyze.js +0 -621
  38. package/runtime/feedback/analyze.sh +0 -546
  39. package/runtime/init.js +0 -210
  40. package/runtime/init.sh +0 -178
  41. package/runtime/metrics/collector.js +0 -361
  42. package/runtime/metrics/collector.sh +0 -308
  43. package/runtime/payments/ledger.js +0 -305
  44. package/runtime/payments/ledger.sh +0 -262
  45. package/runtime/payments/pipeline.js +0 -455
  46. package/runtime/persistence/store.js +0 -433
  47. package/runtime/persistence/store.sh +0 -303
  48. package/skill.json +0 -106
  49. package/skills/agent-bounties/SKILL.md +0 -553
  50. package/skills/agent-payments/SKILL.md +0 -479
  51. package/skills/brainstorming/SKILL.md +0 -233
  52. package/skills/content-pipeline/SKILL.md +0 -282
  53. package/skills/cross-project-knowledge/SKILL.md +0 -345
  54. package/skills/dispatching-parallel-agents/SKILL.md +0 -305
  55. package/skills/economic-code-optimization/SKILL.md +0 -265
  56. package/skills/executing-plans/SKILL.md +0 -255
  57. package/skills/finishing-a-development-branch/SKILL.md +0 -260
  58. package/skills/formal-verification-lite/SKILL.md +0 -441
  59. package/skills/learn-how-to-learn/SKILL.md +0 -235
  60. package/skills/market-intelligence/SKILL.md +0 -323
  61. package/skills/meta-skill-evolution/SKILL.md +0 -325
  62. package/skills/prospecting/SKILL.md +0 -454
  63. package/skills/receiving-code-review/SKILL.md +0 -225
  64. package/skills/requesting-code-review/SKILL.md +0 -206
  65. package/skills/security-audit/SKILL.md +0 -353
  66. package/skills/self-healing-code/SKILL.md +0 -369
  67. package/skills/subagent-driven-development/SKILL.md +0 -244
  68. package/skills/systematic-debugging/SKILL.md +0 -355
  69. package/skills/test-driven-development/SKILL.md +0 -416
  70. package/skills/using-clawpowers/SKILL.md +0 -160
  71. package/skills/using-git-worktrees/SKILL.md +0 -261
  72. package/skills/validator/SKILL.md +0 -281
  73. package/skills/verification-before-completion/SKILL.md +0 -254
  74. package/skills/writing-plans/SKILL.md +0 -276
  75. package/skills/writing-skills/SKILL.md +0 -260
@@ -1,52 +0,0 @@
1
- # ClawPowers for OpenCode — Installation
2
-
3
- Fetch and follow these instructions to install ClawPowers skills in your OpenCode session.
4
-
5
- ## Quick Install
6
-
7
- Paste this into your OpenCode session:
8
-
9
- ```
10
- Fetch and follow instructions from https://raw.githubusercontent.com/up2itnow0822/clawpowers/main/.opencode/INSTALL.md
11
- ```
12
-
13
- ## What Gets Installed
14
-
15
- ClawPowers injects 20 skills into your agent context:
16
-
17
- - **14 Core Development Skills** — TDD, subagent orchestration, systematic debugging, code review, git worktrees, planning, and more
18
- - **6 Extended Skills** — Agent payments (x402), security auditing, content pipeline, market intelligence, lead prospecting, and metacognitive learning
19
-
20
- ## Session Hook Setup
21
-
22
- To auto-inject ClawPowers on every OpenCode session start, add to your OpenCode configuration:
23
-
24
- ```json
25
- {
26
- "hooks": {
27
- "session_start": "bash /path/to/clawpowers/hooks/session-start"
28
- }
29
- }
30
- ```
31
-
32
- ## Manual Context Injection
33
-
34
- Copy the contents of `skills/using-clawpowers/SKILL.md` and prepend it to your OpenCode session context. This gives you all skill triggers without the runtime layer.
35
-
36
- ## Runtime Layer (Optional)
37
-
38
- For persistent memory, outcome tracking, and self-improvement:
39
-
40
- ```bash
41
- npx clawpowers init
42
- ```
43
-
44
- Creates `~/.clawpowers/` with:
45
- - `state/` — cross-session key-value store
46
- - `metrics/` — JSONL outcome logs per skill
47
- - `checkpoints/` — resumable workflow state
48
- - `feedback/` — RSI analysis outputs
49
-
50
- ## Skills Reference
51
-
52
- Skills activate on pattern recognition. See `skills/using-clawpowers/SKILL.md` for the full list of 20 skills and their trigger conditions.
package/ARCHITECTURE.md DELETED
@@ -1,69 +0,0 @@
1
- # ClawPowers Architecture
2
-
3
- ## Design Principles
4
-
5
- 1. **Skills execute, not just instruct.** Every skill can invoke tools, persist state, and measure outcomes.
6
- 2. **Simplicity is a feature.** Complex functionality, simple interface. One SKILL.md per skill. Zero mandatory dependencies.
7
- 3. **Progressive enhancement.** Works as static markdown (like competitors). Gains runtime powers when the persistence layer is available.
8
- 4. **Platform-agnostic.** Same skills, same format, every platform: Claude Code, Cursor, Codex, OpenCode, Gemini CLI.
9
- 5. **Self-improving.** The system gets better at helping you the more you use it.
10
-
11
- ## Skill Format
12
-
13
- Every skill is a directory containing a `SKILL.md` with YAML frontmatter:
14
-
15
- ```yaml
16
- ---
17
- name: skill-name
18
- description: When to trigger this skill
19
- version: 1.0.0
20
- requires:
21
- tools: [] # Optional: CLI tools needed (e.g., git, npm, trivy)
22
- runtime: false # Optional: true if skill needs persistence layer
23
- metrics:
24
- tracks: [] # What outcomes this skill measures
25
- improves: [] # What parameters RSI can adjust
26
- ---
27
- ```
28
-
29
- ## Runtime Layer (Optional, Additive)
30
-
31
- The runtime layer lives at `~/.clawpowers/` and provides three services:
32
-
33
- ### 1. Persistence (`runtime/persistence/`)
34
- - File-based key-value store for cross-session state
35
- - Checkpoint system for resumable workflows
36
- - Schema: flat file key-value store under `state/`
37
-
38
- ### 2. Metrics (`runtime/metrics/`)
39
- - Outcome tracking per skill execution
40
- - Time-to-completion, success rate, error patterns
41
- - Statistical process control for anomaly detection
42
- - Export to JSON for dashboard consumption
43
-
44
- ### 3. Feedback (`runtime/feedback/`)
45
- - RSI engine: measure → analyze → adapt cycle
46
- - Parameter adjustment recommendations
47
- - Skill effectiveness scoring
48
- - Anti-pattern detection from execution history
49
-
50
- ## Session Hook
51
-
52
- The session-start hook (`hooks/session-start`) injects the `using-clawpowers` skill content into the agent context. This is the only mandatory injection — all other skills load on-demand via trigger matching.
53
-
54
- The hook:
55
- 1. Detects platform (Claude Code, Cursor, Codex, OpenCode, Gemini)
56
- 2. Reads `skills/using-clawpowers/SKILL.md`
57
- 3. Outputs platform-appropriate JSON for context injection
58
- 4. Optionally initializes persistence layer if not present
59
-
60
- ## Graceful Degradation
61
-
62
- If the runtime layer is not installed:
63
- - Skills still function as static methodology guides (same as competitors)
64
- - Persistence features degrade to session-only memory
65
- - Metrics are not collected
66
- - RSI feedback is not available
67
- - All extended skills that require tool execution note the limitation
68
-
69
- This means ClawPowers works everywhere Superpowers works, and does more everywhere the runtime is available.