Skip to content

[Resource]: Clawstrap — CLI that scaffolds a governed Claude Code workspace with spec-driven dev and adaptive memory #1440

@peppinho89

Description

@peppinho89

Display Name

Clawstrap

Category

Tooling

Sub-Category

Tooling: Config Managers

Primary Link

https://github.com/peppinho89/clawstrap

Author Name

peppinho89

Author Link

https://github.com/peppinho89

License

MIT

Other License

No response

Description

CLI that scaffolds a production-ready, governed Claude Code workspace in under two minutes.

Generates: CLAUDE.md governance, approval-first workflow, quality gates, cross-session memory, and governed subagent definitions.

Two standout features: spec-driven development mode (Claude writes a spec before touching any file) and clawstrap watch daemon (keeps workspace memory current automatically by processing session transcripts).

Exports to Paperclip via clawstrap export --format paperclip.

Validate Claims

  1. Run npx clawstrap init in any directory and answer the five prompts
  2. Open the generated workspace in Claude Code and give it a task — the agent will produce a plan and ask for approval before executing (approval-first rule)
  3. For spec-driven development: run npx clawstrap init --sdd, then ask Claude to build something — it will write a structured spec and ask for your approval before writing any code
  4. For adaptive memory: run clawstrap watch in the workspace directory — the daemon starts and processes session transcripts automatically after each Claude Code session ends
  5. Run clawstrap status to see workspace configuration and daemon state

Specific Task(s)

  1. Run npx clawstrap init in any directory and answer the five prompts
  2. Open the generated workspace in Claude Code and give it a task — confirm the agent produces a plan and asks for approval before executing
  3. Run npx clawstrap init --sdd, give Claude a build task — confirm it writes a spec to specs/ and asks for approval before writing any code
  4. Run clawstrap watch — confirm the daemon starts and processes session transcripts after a Claude Code session ends
  5. Run clawstrap status — confirm workspace configuration and daemon state are shown correctly

Specific Prompt(s)

"Build a REST API for user authentication with JWT tokens."

Expected: Claude produces a plan with numbered steps and asks "Shall I proceed?" before writing any code.

With --sdd flag:
"Build a CSV export for the orders table."

Expected: Claude writes a spec to specs/csv-export-orders.md with problem statement, acceptance criteria, constraints, and out-of-scope items — then asks for approval before implementing.

Additional Comments

Five patterns:

  • File-first persistence
  • Approval-first workflow
  • Quality as a structural gate
  • Adaptive workspace memory
  • Governed subagents. T

They form a system. Applied together they produce something qualitatively different: a workspace that compounds because each session builds on the last. The agent carries institutional knowledge forward. The infrastructure makes the next project faster than the last.

Recommendation Checklist

  • I have checked that this resource hasn't already been submitted
  • It has been over one week since the first public commit to the repo I am recommending
  • All provided links are working and publicly accessible
  • I do NOT have any other open issues in this repository
  • I am primarily composed of human-y stuff and not electrical circuits

Metadata

Metadata

Assignees

No one assigned

    Labels

    resource-submissionThis Issue submits a new resource to the listvalidation-passedResource has passed initial validation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions