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.
- package/CHANGELOG.md +94 -0
- package/LICENSE +44 -0
- package/README.md +204 -228
- package/SECURITY.md +72 -0
- package/dist/index.d.ts +844 -0
- package/dist/index.js +2536 -0
- package/dist/index.js.map +1 -0
- package/package.json +50 -44
- package/.claude-plugin/manifest.json +0 -19
- package/.codex/INSTALL.md +0 -36
- package/.cursor-plugin/manifest.json +0 -21
- package/.opencode/INSTALL.md +0 -52
- package/ARCHITECTURE.md +0 -69
- package/bin/clawpowers.js +0 -625
- package/bin/clawpowers.sh +0 -91
- package/docs/demo/clawpowers-demo.cast +0 -197
- package/docs/demo/clawpowers-demo.gif +0 -0
- package/docs/launch-images/25-skills-breakdown.jpg +0 -0
- package/docs/launch-images/clawpowers-vs-superpowers.jpg +0 -0
- package/docs/launch-images/economic-code-optimization.jpg +0 -0
- package/docs/launch-images/native-vs-bridge-2.jpg +0 -0
- package/docs/launch-images/native-vs-bridge.jpg +0 -0
- package/docs/launch-images/post1-hero-lobster.jpg +0 -0
- package/docs/launch-images/post2-dashboard.jpg +0 -0
- package/docs/launch-images/post3-superpowers.jpg +0 -0
- package/docs/launch-images/post4-before-after.jpg +0 -0
- package/docs/launch-images/post5-install-now.jpg +0 -0
- package/docs/launch-images/ultimate-stack.jpg +0 -0
- package/docs/launch-posts.md +0 -76
- package/docs/quickstart-first-transaction.md +0 -204
- package/gemini-extension.json +0 -32
- package/hooks/session-start +0 -205
- package/hooks/session-start.cmd +0 -43
- package/hooks/session-start.js +0 -163
- package/runtime/demo/README.md +0 -78
- package/runtime/demo/x402-mock-server.js +0 -230
- package/runtime/feedback/analyze.js +0 -621
- package/runtime/feedback/analyze.sh +0 -546
- package/runtime/init.js +0 -210
- package/runtime/init.sh +0 -178
- package/runtime/metrics/collector.js +0 -361
- package/runtime/metrics/collector.sh +0 -308
- package/runtime/payments/ledger.js +0 -305
- package/runtime/payments/ledger.sh +0 -262
- package/runtime/payments/pipeline.js +0 -455
- package/runtime/persistence/store.js +0 -433
- package/runtime/persistence/store.sh +0 -303
- package/skill.json +0 -106
- package/skills/agent-bounties/SKILL.md +0 -553
- package/skills/agent-payments/SKILL.md +0 -479
- package/skills/brainstorming/SKILL.md +0 -233
- package/skills/content-pipeline/SKILL.md +0 -282
- package/skills/cross-project-knowledge/SKILL.md +0 -345
- package/skills/dispatching-parallel-agents/SKILL.md +0 -305
- package/skills/economic-code-optimization/SKILL.md +0 -265
- package/skills/executing-plans/SKILL.md +0 -255
- package/skills/finishing-a-development-branch/SKILL.md +0 -260
- package/skills/formal-verification-lite/SKILL.md +0 -441
- package/skills/learn-how-to-learn/SKILL.md +0 -235
- package/skills/market-intelligence/SKILL.md +0 -323
- package/skills/meta-skill-evolution/SKILL.md +0 -325
- package/skills/prospecting/SKILL.md +0 -454
- package/skills/receiving-code-review/SKILL.md +0 -225
- package/skills/requesting-code-review/SKILL.md +0 -206
- package/skills/security-audit/SKILL.md +0 -353
- package/skills/self-healing-code/SKILL.md +0 -369
- package/skills/subagent-driven-development/SKILL.md +0 -244
- package/skills/systematic-debugging/SKILL.md +0 -355
- package/skills/test-driven-development/SKILL.md +0 -416
- package/skills/using-clawpowers/SKILL.md +0 -160
- package/skills/using-git-worktrees/SKILL.md +0 -261
- package/skills/validator/SKILL.md +0 -281
- package/skills/verification-before-completion/SKILL.md +0 -254
- package/skills/writing-plans/SKILL.md +0 -276
- package/skills/writing-skills/SKILL.md +0 -260
package/.opencode/INSTALL.md
DELETED
|
@@ -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.
|