
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
@claudemini/ses-cli
Advanced tools
A CLI memory system for human-AI coding sessions.
ses-cli records agent activity as structured session artifacts, keeps checkpoint history, and adds query/review tooling on top of those artifacts.
SaveStep triggers on every TurnEnd/SubagentEnd/Compaction, not just session endgit checkout)ses/committed/v1 to remote--no-checkpoint to skip)context.md on committed branch includes full conversation (prompt + AI response per turn)files_touched derived from actual tool operations, not git statusnotify hook, zero daemon (notify = ["ses", "codex-notify"])events.jsonl now carries _ts (timestamp), _hook (lifecycle type), _turn (boundary marker)Supports:
npm install -g @claudemini/ses-cli
Or run without installing:
npx @claudemini/ses-cli <command>
Node requirement: >= 18
cd /path/to/your/project
ses enable # Enable for Claude Code (default)
ses enable --all # Enable for all supported agents
ses enable codex # Enable for Codex (configures ~/.codex/config.toml)
Then use your AI agent normally. Session data is captured automatically.
ses status # Current session
ses list # All sessions
ses view <id> # Session details (accepts session ID or shadow branch name)
ses enable --all
Installs hooks in .claude/settings.json, .gemini/settings.json, .cursor/hooks.json, .opencode/plugins/ses.ts.
ses enable codex
Automatically adds notify = ["ses", "codex-notify"] to ~/.codex/config.toml. Zero daemon, zero background process.
ses disable # Remove project hooks (keeps Codex global config)
ses disable --global # Also remove Codex global config
ses disable --clean # Remove all data
ses status
ses list
ses view <session-id>
ses view <shadow-branch> # e.g. ses view ses/4b3a871
ses view <session-id> --json
ses query --recent=5
ses query --file=src/auth.ts
ses explain <session-id>
ses review
ses review --json
ses review --md
ses review --recent=3
ses review --engine=multi-agent --providers=codex,dim,opencode
ses review --strict --fail-on=medium
ses checkpoints
ses commit
ses shadow # List shadow branches
ses rewind <checkpoint>
ses resume <checkpoint>
ses reset --force
ses doctor
ses doctor --fix
ses clean --days=7 --dry-run
ses clean --days=7
ses summarize <session-id>
ses webhook
ses webhook --test
ses pricing status
ses pricing sync
.ses-logs/
.gitignore # Ignores all contents
index.json
<session-id>/
events.jsonl # Raw events with _ts, _hook, _turn
state.json # Session state (tools, files, turns, tokens)
review.json
review-run.json
review.md
.git/ses-sessions/ # V2 state (source of truth)
<session-id>.json
ses/<commit> # Shadow branch: full working tree snapshot
ses/committed/v1 # Committed branch: checkpoint metadata
<shard>/0/
metadata.json
full.jsonl # Agent transcript
context.md # Conversation (prompt + response per turn)
prompt.txt
content_hash.txt
Configuration lives in .ses-logs/config.json. Environment variables override config file values.
Pricing example:
{
"pricing": {
"models": {
"claude-sonnet-4": {
"match": "prefix",
"input_per_million": 3.0,
"output_per_million": 15.0,
"cache_read_input_per_million": 0.3,
"cache_creation_input_per_million": 3.75
}
}
}
}
Webhook example:
{
"webhooks": {
"url": "https://example.com/hook",
"events": ["session.ended", "review.completed"],
"secret": "",
"auth_token": ""
}
}
npm run lint
npm run typecheck
npm test
npm pack --dry-run
npm publish --access public
See package.json.
FAQs
Session-based Hook Intelligence Tracker for human-AI coding sessions
The npm package @claudemini/ses-cli receives a total of 71 weekly downloads. As such, @claudemini/ses-cli popularity was classified as not popular.
We found that @claudemini/ses-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.