StateJar docs

Agent skill

One SKILL.md that any agent which reads Agent Skills can follow to remember and recall your facts with StateJar, through StateJar's MCP tools or the statejar command. Copy one folder into your agent's skills.

What it does

The StateJar skill is an Agent Skill: plain instructions an agent follows to keep your facts with StateJar. With it, the agent:

It calls StateJar through the MCP server's tools when the agent has them, and through the statejar command otherwise. The skill is open source (MIT) in statejar-integrations.

Install

Copy the statejar folder to where your agent reads skills:

AgentFolder
Claude Code~/.claude/skills/statejar/. The Claude Code plugin carries its own skills.
OpenCode~/.config/opencode/skills/statejar/ or ~/.agents/skills/statejar/
OpenClaw~/.agents/skills/statejar/, or skills/statejar/ inside one workspace, for that workspace only
Codex$CODEX_HOME/skills/statejar/ (~/.codex/skills/statejar/)
Hermes Agent~/.agents/skills/statejar/, with ~/.agents/skills under skills.external_dirs in ~/.hermes/config.yaml
git clone https://github.com/KING-OF-FLAME/statejar-integrations
mkdir -p ~/.agents/skills && cp -r statejar-integrations/skills/statejar ~/.agents/skills/

Set it up

The skill needs one way to reach StateJar:

A scope keeps one project's or one agent's memory apart: the command takes --scope, and the tools take session.

Check it works

  1. Tell the agent "I'm Kavya, I live in Bengaluru and my laptop budget is 80000 rupees." It reports what StateJar stored.
  2. In a new session, ask "what is my laptop budget?". The agent searches first, and the answer uses the budget.
  3. The audit log lists the search as a disclosure.

What it sends

The skill itself sends nothing: it is instructions. What the agent sends through the tools or the command is what you tell it to remember, without secrets, and the questions it searches with. StateJar stores typed facts, never your messages, and every search is in your audit log.

Troubleshooting

This page as Markdown: /docs/skills.md