By ActiveMemory
Maintain persistent project context for AI coding assistants by automatically capturing coding conventions, architectural decisions, learnings, and tasks across sessions. Skills automate context loading, drift detection, session journaling, and commit workflows to ensure continuity and reduce repetitive clarification.
Record a coding convention. Use when a repeated pattern should be codified so all sessions follow it consistently.
Record architectural decision. Use when a trade-off is resolved or a non-obvious design choice is made that future sessions need to know.
Record a learning. Use when discovering gotchas, bugs, or unexpected behavior that future sessions should know about.
Add a task. Use when follow-up work is identified or when breaking down complex work into subtasks.
Load full context packet. Use at session start or when context seems stale or incomplete.
Executes bash commands
Hook triggers when Bash tool is used
Modifies files
Hook triggers on file write and edit operations
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.

ctx (Context)
ctxis a system, not a prompt.
A lightweight, file-based system that enables AI coding assistants to persist, structure, and rehydrate project context across sessions.
ctx works with any AI tool that can read files; no model or
vendor lock-in.
Full documentation: ctx.ist
ctx ManifestoCreation, not code. Context, not prompts. Verification, not vibes.
ctx is infrastructure for preserving intent under scale. Without durable
context, intelligence resets. With ctx, creation compounds.
Read the full Manifesto | ctx.ist/manifesto
Context as State: A Persistence Layer for Human-AI Cognition
AI-assisted development systems assemble context at prompt time using heuristic
retrieval from mutable sources. These approaches optimize relevance at the moment
of generation but provide no mechanism for persistence, verification, or
accumulated learning across sessions. ctx treats context as deterministic state.
Read the full Thesis
| Document | Context |
|---|---|
| Manifesto | Philosophy: creation, context, verification |
| The Thesis | Whitepaper: context as deterministic state |
| Design Invariants | System properties that must always hold |
| Tool Comparison | How ctx differs from .cursorrules, Aider, Copilot |
ctx Blog | Deep dives, architecture notes, learnings |
Most LLM-driven development fails not because models are weak: They fail because context is ephemeral. Every new session starts near zero:
ctx treats context as infrastructure:
Here's what that looks like in practice:
❯ "Do you remember?"
● Yes. The PreToolUse hook runs ctx agent, and CLAUDE.md tells me to
read the context files. I have context.
❯ "What have we been working on recently?"
● Yes. I can run ctx journal source and review recent activity:
- 2025-01-20: The meta-experiment that started it all
- 2025-01-21: The ctx rename + Claude hooks session
That's the whole point: Temporal continuity across sessions.
Download pre-built binaries from the releases page, or build from source:
git clone https://github.com/ActiveMemory/ctx.git
cd ctx
CGO_ENABLED=0 go build -o ctx ./cmd/ctx
sudo mv ctx /usr/local/bin/
See installation docs for platform-specific instructions.
# Initialize context directory in your project
ctx init
# Check context status
ctx status
# Get an AI-ready context packet
ctx agent --budget 4000
# Add tasks, decisions, learnings
ctx add task "Implement user authentication"
ctx add decision "Use PostgreSQL for primary database" \
--context "Need a reliable database for production workloads" \
--rationale "PostgreSQL offers ACID compliance, JSON support, and team familiarity" \
--consequence "Team needs PostgreSQL training; must set up replication"
ctx add learning "Mock functions must be hoisted in Jest"
| Guide | Description |
|---|---|
| Getting Started | Installation, quick start, first steps |
| CLI Reference | All commands and options |
| Context Files | File formats and structure |
| Integrations | Claude Code, Cursor, Aider setup |
| Recipes | Practical guides and workflows |
| Security | Threat model, encryption, permissions |
Contributions welcome. See CONTRIBUTING.md for guidelines.
npx claudepluginhub activememory/ctx --plugin ctxAutomatic context engineering — observes your coding sessions and generates rules, suggestions, skills, and hooks so Claude gets smarter on your codebase over time
(Alpha) Persistent memory, architectural decisions, and safety guardrails for Claude Code. Your agent starts every session with full project context — stack, decisions, patterns, safety rules, and a handoff from the previous session.
Persistent memory system for AI coding sessions — cross-tool memory sharing with 6-dimensional hybrid search
Auto-capture high-signal coding context into memctl memory
Hand off context to any AI coding agent. Creates comprehensive handoff documents that capture the current task, progress, modified files, and all relevant context needed to seamlessly continue work in any AI assistant (Claude Code, Cursor, Copilot, Aider, etc.).
OpenLTM — Long-Term Memory for AI coding agents: semantic search, context injection, session learning