by oceanbase
Self-evolving long-term memory for Codex, Claude Code, and other AI agents. Pick up where another agent left off.
# Add to your Claude Code skills
git clone https://github.com/oceanbase/powercontextLast scanned: 10/28/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-10-28T10:21:52.401Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how powercontext compares with popular alternatives.
powercontext is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by oceanbase. Self-evolving long-term memory for Codex, Claude Code, and other AI agents. Pick up where another agent left off. It has 1,388 GitHub stars.
Yes. powercontext passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/oceanbase/powercontext" and add it to your Claude Code skills directory (see the Installation section above).
powercontext is primarily written in Python. It is open-source under oceanbase on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh powercontext against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
Context that stays with the work — across sessions, agents, and people.
Website · Quickstart · Manual startup · Integrations · Benchmarks · Interfaces
PowerContext is an open-source context service for AI agents. It keeps the durable part of your work — decisions, constraints, evidence, progress — outside any single conversation, so the next session, the next agent, or the next person can pick up from the current state instead of rereading the transcript.
You can use it as a ready-to-run Server or embed the same contracts in another application:
| Layer | What it owns | Use it when |
|---|---|---|
| Core protocol | Source, Artifact, and Trigger contracts |
Embedding PowerContext or adding a component |
| Builtin runtime | Memory, Handoff, Experience, and Skill services, scheduling, inference, and supported storage backends | Running the standard local Server |
| Server and integrations | HTTP/MCP, Python Client, CLI, Dashboard, and Agent plugins | Connecting an Agent or application |
Work rarely ends with whoever starts it. You hand a task to an agent, the agent gets part of the way, and later you or someone else takes over. The reasoning and current state often stay behind in that conversation. PowerContext moves them out of the conversation and into revisioned artifacts you can inspect:
Everything belongs to a Scope — one isolated Source journal, Memory lifecycle, review inbox, and Handoff history. A Scope ID selects data; it does not prove user identity, grant tool access, or authorize execution.
Scope
├── Source journal # evidence: prompts, documents, work contracts, task outcomes
├── Memory # atomic-memory/ARTIFACT_ID@REVISION — decisions, constraints, next steps
├── Review Inbox # pending Experience and Skill candidates awaiting a decision
├── Handoff history # handoff/ARTIFACT_ID@REVISION — work continuity across sessions
└── Topic Memory # extracted in the background from eligible Sources
The Dashboard screenshots below use synthetic demonstration records.
Memory is a revisioned Artifact family for reusable decisions, constraints, facts, state, and next steps. An entry is
active, forgotten, merged, or retired. Forgetting one through POST /v1/atomic-memory/lifecycle takes it out of
active recall while its content and history stay available and restorable, without advancing the content revision.
Explicit Memory writes need no model at all; extraction from captured Sources needs a configured generation pipeline.
"Don't refactor the old auth module — mobile is still using it." Context this expensive shouldn't depend on someone repeating it in every session.

Handoff records work continuity as a four-step loop:
Work Contract → Prepared Handoff → Acknowledgement → Task Outcome
handoff_current_work captures an inspected boundary and returns a temporary Prepared Handoff. Committing it creates a
durable Revision only when the user wants a milestone. The receiver resolves the Handoff and records an Acknowledgement;
a Task Outcome preserves the final status and checks as Source evidence. The
Handoff Report projects the latest Revision in
each selected Scope — read-only, and it never rewrites Memory.

An Experience records a situation, an action, an observed outcome, and a reusable lesson. It enters a scope-local Review
Inbox as a pending Candidate. Review writes use expected_version, so a decision cannot silently apply after another
writer changes the proposal. Approval writes an immutable Revision; rejection records a reason. Both are terminal, and
only the approved current head takes part in recall — pending, rejected, and historical Revisions are excluded.
A managed Skill holds a name, a discovery description, instructions, validation checks, and lineage. Approval does not install or execute it: an exact approved Revision must be exported explicitly before an Agent host can discover the host-local projection.
Operational metrics expose dependency observations, processing freshness, and attempt latency, including a protected metrics-only endpoint for standalone background deployments.
FAMILY/ARTIFACT_ID@REVISION. The Artifact
ID stays stable while approved replacements create later Revisions, and reading an exact reference returns that
historical snapshot even after the family head advances.PreparedContext selects configured sections from active Memory and approved
Experience, with optional Profile snapshots and Topic Memory, then applies a shared byte budget and returns ready
content or empty. Recalled content is history, not an instruction authority: the receiving Agent still follows
current instructions and checks live workspace state.scope.review. An
authorized Agent can approve its own Candidate;
separate submission and review
with distinct identities and permissions when a person must decide.The comparison assumes typical single-agent or host-local setups; exact behavior depends on how each system is deployed.
| Re-reading chat history | RAG over transcripts | Host-local memory files | PowerContext | |
|---|---|---|---|---|
| Survives a new session | manual | yes | yes | yes |
| Survives switching agents | no | no | no | yes |
| Handing work to a person | manual | manual | manual | Handoff, first-class |
| Reusable procedure | no | no | prose only | Experience / Skill |
| Earlier revisions kept | no | depends on the index | only via git | immutable Revisions |
| Review before reuse | n/a | no | no | Review Inbox |
| Bounded recall for one turn | no | partial | no | PreparedContext byte budget |
| Inspectable outside the Agent | no | no | yes | yes |
Long-conversation memory (LoCoMo; 1,540 scored questions across categories 1–4): 90.78% accuracy, against 87.79% for PowerMem and 52.9% for full-context replay — +37.88 points over full context.
Coding tasks (SWE-bench Pro; a paired project run on all 731 public v2 tasks, not an official submission): 86.73% task resolution with PowerContext on, 82.35% with it off — +4.38 points and 32 more tasks resolved.
Retrieval quality (LoCoMo Plus), native PowerContext against PowerContext with Jev candidate filtering after
retrieval. Each model is used for both Memory extraction and answering; embeddings use qwen3.7-text-embedding
(1024 dimensions):
| Model | PowerContext | PowerContext + Jev | Difference |
|---|---|---|---|
| GPT-4o-mini | 40.855% | 49.78% | +8.925 points |
| Qwen3.7-plus | 60.37% | 68.947% | +8.577 points |
| GPT-4o | 65.082% | 69.28% | +4.198 points |
Full methods, results, and limitations: benchmarks. Two caveats we would rather state than bury: the six LoCoMo Plus scores above were supplied by the project owner, and their run art