New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@anthropologies/claudestory

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anthropologies/claudestory

An agentic development framework. Track tickets, issues, and progress for your project so every session builds on the last.

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
179
1527.27%
Maintainers
1
Weekly downloads
 
Created
Source

claudestory

An agentic development framework. Track tickets, issues, and progress for your project in a .story/ directory that AI tools read and write natively.

claudestory.com | Documentation | Privacy Policy

Installation

npm install -g @anthropologies/claudestory

Requires Node.js 20+.

Quick Start

# Initialize in your project
claudestory init --name "my-project"

# See project state
claudestory status

# What should I work on next?
claudestory ticket next

# Check for data integrity issues
claudestory validate

CLI Commands

All commands support --format json|md (default: md).

Project

CommandDescription
claudestory init [--name] [--force]Scaffold .story/ directory
claudestory statusProject summary with phase statuses
claudestory validateReference integrity + schema checks

Phases

CommandDescription
claudestory phase listAll phases with derived status
claudestory phase currentFirst non-complete phase
claudestory phase tickets --phase <id>Leaf tickets for a phase
claudestory phase create --id --name --label --description [--summary] --after/--at-startCreate phase
claudestory phase rename <id> [--name] [--label] [--description] [--summary]Update phase metadata
claudestory phase move <id> --after/--at-startReorder phase
claudestory phase delete <id> [--reassign <target>]Delete phase

Tickets

CommandDescription
claudestory ticket list [--status] [--phase] [--type]List leaf tickets
claudestory ticket get <id>Ticket detail
claudestory ticket nextHighest-priority unblocked ticket
claudestory ticket blockedAll blocked tickets
claudestory ticket create --title --type --phase [--description] [--blocked-by] [--parent-ticket]Create ticket
claudestory ticket update <id> [--status] [--title] [--phase] [--order] ...Update ticket
claudestory ticket delete <id> [--force]Delete ticket

Issues

CommandDescription
claudestory issue list [--status] [--severity]List issues
claudestory issue get <id>Issue detail
claudestory issue create --title --severity --impact [--components] [--related-tickets] [--location]Create issue
claudestory issue update <id> [--status] [--title] [--severity] ...Update issue
claudestory issue delete <id>Delete issue

Handovers

CommandDescription
claudestory handover listList handover filenames (newest first)
claudestory handover latestContent of most recent handover
claudestory handover get <filename>Content of specific handover

Blockers

CommandDescription
claudestory blocker listList all blockers with dates
claudestory blocker add --name [--note]Add a blocker
claudestory blocker clear <name> [--note]Clear an active blocker

MCP Server

The MCP server provides 19 tools for Claude Code integration. It imports the same TypeScript modules as the CLI directly — no subprocess spawning.

Setup with Claude Code

npm install -g @anthropologies/claudestory
claude mcp add claudestory -s user -- claudestory --mcp

Two commands: install globally, register as MCP server. Works in every project that has a .story/ directory. The MCP server auto-discovers the project root by walking up from the working directory.

MCP Tools

ToolDescription
claudestory_statusProject summary
claudestory_phase_listAll phases with status
claudestory_phase_currentCurrent phase
claudestory_phase_ticketsTickets for a phase
claudestory_ticket_listList tickets (filterable)
claudestory_ticket_getGet ticket by ID
claudestory_ticket_nextPriority ticket
claudestory_ticket_blockedBlocked tickets
claudestory_issue_listList issues (filterable)
claudestory_issue_getGet issue by ID
claudestory_handover_listList handovers
claudestory_handover_latestLatest handover
claudestory_handover_getSpecific handover
claudestory_blocker_listList blockers
claudestory_validateIntegrity checks
claudestory_recapSession diff + suggested actions
claudestory_snapshotSave state for session diffs
claudestory_exportSelf-contained project document

Session Lifecycle

Auto-inject project recap at session start — shows what changed since last snapshot and what to work on next:

#!/bin/bash
claudestory recap --format md 2>/dev/null

PreCompact Hook (auto-snapshot)

setup-skill configures a PreCompact hook that runs claudestory snapshot --quiet before context compaction. This ensures recap always shows changes since the last compaction — no manual snapshots needed.

Installed automatically by setup-skill. To skip: claudestory setup-skill --skip-hooks.

Manual configuration (add to ~/.claude/settings.json):

{
  "hooks": {
    "PreCompact": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "claudestory snapshot --quiet"
          }
        ]
      }
    ]
  }
}

Session End

Save a snapshot before ending your session so the next recap can show diffs:

claudestory snapshot

Export

Generate a self-contained document for sharing:

claudestory export --phase p5b          # single phase
claudestory export --all                # entire project
claudestory export --all --format json  # structured JSON

Library Usage

import { loadProject, ProjectState } from "@anthropologies/claudestory";

const { state, warnings } = await loadProject("/path/to/project");
console.log(state.tickets.length); // all tickets
console.log(state.phaseTickets("p1")); // tickets in phase p1

Git Guidance

Commit your .story/ directory. Add to .gitignore:

.story/snapshots/

Everything else in .story/ should be tracked.

License

PolyForm Noncommercial 1.0.0 -- free for personal and noncommercial use. For commercial licensing, contact shayegh@me.com.

Keywords

claudestory

FAQs

Package last updated on 16 Apr 2026

Related posts