/agent-blackboard:agent-blackboardfrom agent-blackboard
Create sessions and record entries in agent-blackboard, an append-only stream for autonomous agent work. Use when recording friction, decisions, or findings, or reviewing a known session later.
Ships in agent-blackboard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
agent-blackboard is an append-only, session-scoped entry stream, not a knowledge base. This
skill explains how to use it; project instructions decide what is worth recording.
parentSessionId. Root sessions use parentSessionId: null.data object.data is JSON with optional schema validation. Every entry carries a JSON data object.
Unschematized entries remain allowed when the server runs in optional (default) or shadow
mode; when a deployment registers JSON Schema 2020-12 entry schemas, pass schemaId (and optional
schemaVersion) on entry_append (or --schema <id>[@<version>] in the CLI) so the server
validates and records the schema version on the entry.repositories as a sorted, deduplicated array of lowercase GitHub owner/name strings. The
session's data.repositories is the cumulative union; an entry's data.repositories contains
only repositories relevant to that entry. Untagged historical data is unclassified, so do not
infer repositories from its text or path.repositories array and lose a repository from the union.data cannot be changed after it is written; to
enrich or correct an earlier observation, append a new entry rather than editing the original.
Archival applies to the whole session.If the agent-blackboard MCP server is connected, use its tools directly:
session_create — create a root or subagent session with explicit sessionId and
parentSessionId (use null for a root), plus agent and version.session_ensure — the idempotent form of session_create: returns "exists" instead of an error
when the session is already there with the same parentSessionId, agent, and version.session_search — find undistilled or archived sessions with exact metadata, data, and optional
inactiveForHours filters (a session without entries counts as last active at its createdAt).
When supported, dataArrayContains matches exact array membership,
including repository tags.session_patch — shallow-merge data into an unarchived session.session_archive — mark a session as distilled; archival is one-time and metadata becomes
immutable.entry_append — append data to any existing session, including an archived one. Optionally
supply schemaId (and schemaVersion) for server-side JSON Schema validation.entry_get — read entries from one explicit session.snapshot_export — stream all selected active sessions and entries to a private read-only JSONL
file, returning its path, counts, checksum, manifest, and (when path is omitted) cleanupToken.snapshot_partition — split a generated temporary snapshot into bounded session-preserving
read-only partitions using its cleanupToken.snapshot_cleanup — delete a generated temporary snapshot file and/or partition directory using
its cleanupToken.outbox_status, outbox_flush, outbox_prune_rejected — inspect, deliver, or drop entry writes
queued in the local outbox while the server was unreachable.schema_list — list registered JSON Schemas and the current schema registry revision.schema_get — inspect one registered schema (latest version or an explicit version).schema_pull — sync the full schema registry into the local cache (If-None-Match).schema_validate — validate an entry payload offline against a locally pulled schema.Without MCP, or from a shell/script, run the published CLI through npx. This does not require a
local clone of the agent-blackboard repository:
npx -y [email protected] sessions create root-123 --agent claude-code --version 1.0.13
npx -y [email protected] sessions create worker-456 --parent-session-id root-123 \
--agent claude-code --version 1.0.13
npx -y [email protected] sessions patch worker-456 --data '{"branch":"fix/retry"}'
npx -y [email protected] sessions patch worker-456 --data '{"repositories":["owner/name"]}'
npx -y [email protected] append --session-id worker-456 '{"repositories":["owner/name"],"note":"found the failing edge case"}'
npx -y [email protected] get --session-id worker-456 --format markdown
npx -y [email protected] snapshot export --root-only --inactive-for-hours 8
npx -y [email protected] snapshot partition --path /tmp/agent-blackboard-snapshot-<uuid>.jsonl \
--cleanup-token <cleanup-token>
npx -y [email protected] snapshot cleanup --path /tmp/agent-blackboard-snapshot-<uuid>.jsonl \
--directory /tmp/agent-blackboard-partitions-<suffix> --cleanup-token <cleanup-token>
Output defaults to JSON; pass --format jsonl or --format markdown for streaming or
human-readable reads.
Before appending a repository-tagged entry, read the session's current data.repositories
(sessions get <id>) and merge the entry's tags into that list: a patch replaces the whole
array, so patching only the new repository drops the ones already there. Normalize the list and
wait for sessions patch to succeed. If it fails, do not append; start a new session after
archival because archived metadata cannot be patched. The entry tag remains the
authority for repository-scoped evidence. A session can span repositories, so a repository-scoped
review includes only entries whose tag array contains the selected repository and does not archive
the shared session until all of its tagged repositories have been reviewed.
snapshot partition accepts only a generated temporary export path plus the cleanup token printed by
export, preserves whole sessions and their entry order, and creates private read-only partition
files. It defaults to 25 sessions or 1 MiB per partition. snapshot cleanup requires the same token
and accepts either generated artifact or both; use it when the bounded evidence is no longer needed.
Explicit snapshot export --path destinations remain available for caller-controlled export, but
cannot be partitioned or cleaned up by these commands.
Generated names, private modes, capabilities, and identity checks reject substitutions visible at operation boundaries. Do not place snapshot artifacts where a malicious concurrent process with the same operating-system user identity can swap pathnames between those checks; that race is outside the pure-Node package boundary.
This skill only covers how to create sessions and append and get entries. It does not prescribe
what to record — write, or look for, a project-specific skill that layers that guidance on top
of this one. For turning accumulated sessions into evidence-backed follow-ups via snapshots, use the
companion distill skill.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jonathanong/agent-blackboard --plugin agent-blackboard2 skills in this plugin
Other plugins' skills for the same job