npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@maggit/claude-workspace

v0.2.1

Published

CLI tool to scaffold Claude workspaces into any project

Readme

Claude Workspace

Dotfiles for Claude — scaffold a structured AI workspace into any project with one command.

Claude Workspace sets up everything you need to work effectively with Claude: a Markdown knowledge vault, curated skills (promptable playbooks), document templates, and a ready-to-use CLAUDE.example.md. It's idempotent, profile-based, and designed for teams and solo builders alike.


Quick Start

npx @maggit/claude-workspace init

That's it. You'll be prompted to pick a profile and vault name, and your workspace is ready.

For non-interactive setup:

npx @maggit/claude-workspace init --profile engineering-exec --yes

What You Get

your-project/
├── CLAUDE.example.md              # Workspace instructions for Claude (rename to CLAUDE.md)
├── .claude/
│   ├── config.json                # Workspace configuration
│   ├── skills/                    # Promptable mini-playbooks
│   │   ├── prd/SKILL.md
│   │   ├── eng-spec/SKILL.md
│   │   └── ...
│   ├── templates/                 # Document templates
│   │   ├── PRD_TEMPLATE.md
│   │   ├── ENG_SPEC_TEMPLATE.md
│   │   └── ...
│   ├── snippets/                  # Your snippets (empty)
│   ├── logs/                      # Your logs (empty)
│   └── profiles/
│       └── active.json            # Tracks installed files for idempotency
└── ContextDB/                     # Markdown knowledge vault
    ├── README.md
    ├── _index.md
    ├── 00_inbox/
    ├── 01_specs/
    ├── 02_architecture/
    ├── 03_decisions/
    ├── 04_knowledge/
    ├── 05_prompts/
    ├── 06_agents/
    ├── 07_diagrams/
    └── 08_todos/

Setting Up CLAUDE.md

Claude Workspace never touches your CLAUDE.md. It writes CLAUDE.example.md so you stay in control.

New project — rename it:

mv CLAUDE.example.md CLAUDE.md

Existing project with a CLAUDE.md — open CLAUDE.example.md and merge the parts you want (vault references, skill instructions, conventions) into your existing file.

Profiles

Profiles determine which skills and templates get installed:

| Profile | Skills | Best for | |---------|--------|----------| | default | All 9 skills, all 5 templates | Full workspace — everything included | | engineering-exec | PRD, eng-spec, requirements, todo, release-plan | Engineering leads and architects | | indie-maker | PRD, todo, summary, release-plan | Solo builders shipping fast | | marketing | PRD, SEO brief, landing page copy, summary, meeting notes | Content and growth teams |

# Use a specific profile
cws init --profile marketing

Skills

Skills are Markdown playbooks that teach Claude how to produce specific document types. They live in .claude/skills/ and are referenced by name:

| Skill | Produces | |-------|----------| | prd.md | Product Requirements Documents | | eng-spec.md | Engineering Specifications | | requirements.md | Structured Requirements | | todo.md | Task Breakdowns | | summary.md | Summaries and Recaps | | meeting-notes.md | Meeting Notes | | release-plan.md | Release Plans | | seo-brief.md | SEO Content Briefs | | landing-page-copy.md | Landing Page Copy |

Commands

init

Scaffold a workspace. Safe to run multiple times — existing files are preserved, unchanged managed files are skipped.

cws init [options]

| Option | Description | Default | |--------|-------------|---------| | -d, --dir <path> | Target directory | . | | -p, --profile <name> | Profile | default | | --vault <name> | Vault folder name | ContextDB | | --force | Overwrite user-modified managed files (backs up first) | false | | --dry-run | Preview what would happen | false | | -y, --yes | Skip prompts, use defaults | false |

doctor

Check that your workspace is healthy:

cws doctor
PASS  .claude/ directory exists
PASS  config.json valid (profile: default)
PASS  All 9 skill files present
PASS  All 5 template files present
PASS  Vault directory exists: ContextDB/
PASS  All 9 vault subfolders present
PASS  CLAUDE.md present

add-skill

Install a single skill without running a full init:

cws add-skill prd
cws add-skill --list

| Option | Description | Default | |--------|-------------|---------| | -d, --dir <path> | Target directory | . | | --force | Overwrite existing skill (backs up first) | false | | --dry-run | Preview what would happen | false | | -l, --list | List all available skills | false |

print-claude-md

Preview the CLAUDE.md content for a profile without writing any files:

cws print-claude-md --profile indie-maker

Installation

npx (recommended)

npx @maggit/claude-workspace init

Global install

npm install -g @maggit/claude-workspace
cws init

Clone and run

git clone https://github.com/raquelhernandez/claude-workstation.git
cd claude-workstation
pnpm install && pnpm build
node packages/cli/dist/bin.js init --dir ~/my-project

Idempotency

Running init again is always safe:

  • Managed files (skills, templates) are tracked by SHA-256 hash. If the file hasn't changed, it's skipped.
  • User-modified files are detected and preserved. Use --force to overwrite (a .bak backup is created first).
  • Unmanaged files (existing skills not tracked by the CLI) are skipped with a warning. Use --force to overwrite, or delete them and re-run.
  • CLAUDE.example.md is regenerated on each run — it's the reference file, not your working file.
  • Vault folders are created if missing, never deleted.

Customization

See docs/customization.md for:

  • Creating custom profiles
  • Writing new skills
  • Adding templates
  • Changing vault structure
  • Custom CLAUDE.md templates

ContextLoom

Claude Workspace is designed to work with ContextLoom, a Markdown editor for managing project context. The vault taxonomy and file conventions are fully compatible. See docs/contextloom.md for details.

Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines on:

  • Setting up the development environment
  • Adding skills, templates, and profiles
  • Code style and testing expectations
  • Pull request process

Development

pnpm install        # Install dependencies
pnpm build          # Build (copies assets + compiles TypeScript)
pnpm test           # Run all tests

License

MIT