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

@dotdotgod/claude-code

v0.3.6

Published

Claude Code adapter for dotdotgod project memory workflows.

Readme

@dotdotgod/claude-code

npm version GitHub License: Elastic 2.0

Claude Code adapter for dotdotgod's docs-first project-memory workflow.

Use this package when you want Claude Code to work from a shared project brain: maintained agent rules and docs, durable plans, focused context loading, and changed-file evidence before handoff.

What Changes

  • Claude starts from shared project knowledge. AGENTS.md and the documentation map remain reusable across agents while Claude-specific commands provide a native entry point.
  • Plans become durable project artifacts. /dd:plan records task intent under docs/plan/ so it survives compaction, handoff, and new sessions.
  • Project evidence arrives when needed. /dd:load and the local MCP runtime provide bounded documentation, command output, files, and fetched text.
  • Changed files retain their review context. Packaged hooks track successful edits and require matching graph impact before broad verification or handoff commands.
  • The workflow stays inspectable. A denied operation names the required MCP action, and Claude retries the original operation after the check succeeds.

Start Here

This package is a Claude Code plugin containing a manifest, /dd:* commands, skills, MCP integration, and hooks. Claude Code registers these resources when it loads the package through plugin registration or a local plugin directory.

Register the dotdotgod plugin marketplace inside Claude Code, then install the plugin:

/plugin marketplace add dotdotgod/dotdotgod-kit
/plugin install dotdotgod@dotdotgod

Then use the bundled /dd:* commands in your repository:

/dd:init
/dd:load
/dd:plan Update the API migration plan.
/dd:impact

After an update, restart Claude Code and confirm the active plugin points to the new installed cache entry. Source changes do not rewrite an existing ~/.claude/plugins/cache/.../<hash>/; reinstall the plugin through the supported flow if Claude continues using an older cache hash.

For local development from a source checkout, load the plugin directory directly instead of installing:

claude --plugin-dir /path/to/dotdotgod/packages/claude-code

What It Adds to Claude Code

| Command or skill | Use it for | Result | | --- | --- | --- | | /dd:init | Start a repository with dotdotgod conventions. | Creates or normalizes shared agent files, docs indexes, local-memory areas, and the complete default project config. | | /dd:load | Load project memory without changing maintained project files. | Renders the shared Markdown tree and uses dotdotgod query when focus text is provided; unavailable optional semantic routing falls back to the map with bounded evidence. | | /dd:plan | Plan before implementation. | Writes or updates durable task intent in docs/plan/<task-slug>/README.md. | | /dd:impact | Review changed files before verification or handoff. | Uses dotdotgod graph impact to identify likely related docs, tests, commands, and source files. | | document-clarify | Improve docs wording without changing behavior contracts. | Clarifies README/spec/test/arch/plan/archive docs using memory-area roles. | | dotdotgod-context MCP tools | Run commands, process files, fetch/index text, and search large output locally. | Keeps large raw bytes outside model context and returns bounded output or FTS5 excerpts. |

Shared Project-Memory Contract

  • AGENTS.md remains canonical.
  • CLAUDE.md stays thin and imports or points to AGENTS.md.
  • Specs describe behavior and requirements.
  • Architecture docs explain rationale, boundaries, and conventions.
  • Test docs explain verification strategy, regression coverage, fixtures, and commands.
  • Active plans use docs/plan/<task-slug>/README.md.
  • Completed plans move to docs/archive/plan/<task-slug>/.
  • Temporary reports move to docs/archive/report/<report-slug>/.
  • docs/archive/README.md is the archive map; archive bodies should be read only when targeted.

Memory Areas and Traceability

By default, docs/spec/** has two separate roles:

  • It is stable shared project memory for product behavior and requirements.
  • It is the traceability-enforced path for behavior specs.

Projects can customize memory roles with memory.areas, select traceability-enforced Markdown with traceability.required and traceability.exclude, and define the ordered complete list of traceability string arrays with traceability.keys. Each key owns its label, path or command target, graph relation, and PPR weight.

Bundled MCP And Hooks

The plugin starts a local stdio MCP server. It exposes execute, batch_execute, and execute_file; context index, search, fetch, session resume, durable ingestion-job lifecycle, explicit healing, stats, doctor, and purge tools; plus dotdotgod_project_load, dotdotgod_project_impact, and dotdotgod_project_initialize.

Dotdotgod execution tools share a 10 MiB stdout/stderr capture ceiling per command. Crossing that ceiling terminates the child process and reports captureLimitExceeded; direct stdout and stderr excerpts are each capped at 1 MiB. Their child environments preserve compatibility-oriented inheritance after filtering runtime injection variables; this reports filtered names without values but does not isolate ordinary inherited credentials. Large output is indexed before retrieval in the ignored project-local .dotdotgod/context/context.sqlite FTS5 store, and searches return bounded excerpts. The store uses WAL, a bounded busy timeout, and transactional source replacement, expiry, and purge. Structural Markdown/JSON chunks, bounded typo-tolerant trigram candidates, reciprocal-rank fusion, and title/path/proximity signals improve retrieval while provenance and instructionAuthority: "none" identify retrieved text as non-authoritative data.

The MCP index tool accepts project-contained files or bounded directories with deterministic traversal, configurable resource limits, explicit extension/path exclusions, and symlinks skipped by default. These capture and retrieval rules apply when Claude calls the dotdotgod MCP tools; Claude Code's built-in Bash tool keeps its native behavior. URL indexing performs application-level HTTP(S), DNS/address, connected-peer, redirect, and byte-limit validation. Accepted HTML is normalized as bounded untrusted text without browser rendering, JavaScript, subresource loading, or link following by default. The server bundles no browser renderer, so browser opt-in fails unless a host injects that capability. These controls are not a network sandbox or complete prompt-injection prevention. See the @dotdotgod/context npm package, its GitHub README, and the maintained execution contract for the complete runtime behavior.

Bundled hooks mark project load as required at session start, record successful source/config edits, and deny broad verification or handoff commands until matching graph impact succeeds. Denial asks Claude to call the required MCP tool and retry; hooks do not silently change one tool type into another. See hooks/README.md for lifecycle and trust boundaries.

Local Development

pnpm --filter @dotdotgod/claude-code run verify
pnpm --filter @dotdotgod/claude-code run pack:dry-run

Learn More

See the root README, Context curation, Context mechanics, Memory area config, and Traceability config.

Workflow Model

The adapter connects Claude Code's commands, skills, MCP tools, and hooks to the same maintained project memory used by other agents. README indexes route focused reads, durable plans preserve intent, and graph impact supplies related evidence for review.