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

@furkankoykiran/contextify-cli

v0.6.0

Published

Open-source CLI for Claude Code: capture sessions, ship transcripts to your memory pipeline, and synthesize Claude-ready prompts.

Downloads

100

Readme

Contextify CLI

Open-source CLI for Claude Code: capture sessions, ship transcripts to your memory pipeline, and synthesize Claude-ready prompts.

npm version npm downloads CI License: MIT Node ≥ 20

contextify is the capture half of Contextify — a closed-loop prompt factory and project memory for Claude Code. It hooks into Anthropic Claude Code sessions on your machine, ships transcripts to your memory pipeline, and turns drafts into Claude-ready prompts grounded in everything your project has already learned.

The CLI is MIT-licensed and contribution-friendly. The backend (web app, worker, prompt synthesizer) is closed-source.

Why use this

  • Claude Code transcript capture — every SessionStart, Stop, and SessionEnd event is shadowed and streamed without disrupting your flow.
  • Project memory grounding — turn a one-line draft into a multi-section, memory-augmented Claude Code prompt with contextify prompt.
  • Zero per-project configproject_id is derived from each session's cwd at fire-time. Install once, capture everywhere.
  • Bring your own server — point CONTEXTIFY_SERVER_URL at https://contextify.live or self-host the backend.

Install

pnpm add -g @furkankoykiran/contextify-cli
# or
npm i -g @furkankoykiran/contextify-cli

Quick start

  1. Create an API key at https://contextify.live/dashboard/keys.
  2. Export the key and the server URL:
    export CONTEXTIFY_API_KEY="ctx_live_..."
    export CONTEXTIFY_SERVER_URL="https://contextify.live"
  3. Install the Claude Code hooks (once per machine):
    contextify install

That's it — every Claude Code session is now captured. Inspect captures and synthesized memories at https://contextify.live/dashboard.

Commands

| Command | What it does | | ------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------- | | contextify install [--key <ctx_live_...>] [--server <url>] [--dry-run] | Wires SessionStart / Stop / SessionEnd into ~/.claude/settings.json. Run once per machine. | | contextify init [projectId] [--name <name>] [--server <url>] | Pin a project id by writing .contextify.json in the current directory. | | contextify wrap -- <cmd> [args...] | Run any command, mirror its output, and ship the capture in batches. | | contextify login --key <ctx_live_...> | Persist a key to ~/.contextify/credentials.json (chmod 600). | | contextify ship --once | Flush locally-spooled batches left over from offline runs. | | contextify prompt <draft\|-> [--top-k N] [--show-memories] [--json] | Build an XML prompt augmented with project memories. Pass - to read from stdin. | | contextify hooks <session-start\|stop\|session-end> | Internal — invoked by Claude Code hook scripts. | | contextify --version | Print the CLI version. |

Environment

| Variable | Purpose | | ----------------------- | ------------------------------------------------------------------------------------------ | | CONTEXTIFY_API_KEY | Bearer key used to authenticate every request. Wins over ~/.contextify/credentials.json. | | CONTEXTIFY_SERVER_URL | Target server. Defaults to https://contextify.live. | | CONTEXTIFY_PROJECT_ID | Override the auto-derived project id. | | CONTEXTIFY_STATE_DIR | Override the ~/.contextify state directory. | | CLAUDE_SETTINGS_PATH | Override the ~/.claude/settings.json path (useful for tests). |

How project identity is resolved

Project id resolution stack, first match wins:

  1. CONTEXTIFY_PROJECT_ID (env)
  2. .contextify.json in the current dir or an ancestor (projectId field)
  3. Git remote URL of the enclosing repo
  4. realpath of the current directory

Development

git clone https://github.com/furkankoykiran/contextify-cli.git
cd contextify-cli
pnpm install
pnpm build
pnpm test

See CONTRIBUTING.md for the full workflow.

Related

License

MIT © Furkan Köykıran