/oddyssey:odd-memoryfrom Oddyssey
Defines the .odd/ memory contract: five artifact kinds (observation reports, instrumentation reports, benchmarks, maintainer rulings, custom stacks) with per-kind references for persist/recall/show.
Ships in Oddyssey. 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.
Read when SKILL.md points to them; scripts run unread.
.odd/ memory contractThe ODD loop's memory is a set of committed files in the observed
repository, under .odd/: git versions them, pull requests review them,
every user of the repository shares them — no side-channel storage,
nothing opaque. It has five kinds, each with the reference that owns
its specifics (its paths, its frontmatter fields, its recall matching,
its branch name, its commit subject, what its reply carries, and how a
stored one is shown):
| Kind | Store | Reference |
|---|---|---|
| Observation reports | .odd/observe-run-reports/ | references/observe-run-report.md |
| Instrumentation reports | .odd/otel-instrumentation-reports/ | references/otel-instrumentation-report.md |
| Maintainer rulings | .odd/decisions.md (findings) and .odd/entry-classifications.md (tree entries), written by scripts/odd_ledger.py | references/decisions.md |
| Benchmarks | .odd/benchmarks/<name>/ | references/benchmark.md |
| Custom stacks | .odd/observability-stacks/<name>/ (guide.md and scripts/) | references/observability-stack.md |
This file owns what they share; a reference states only its specifics. A sixth kind is a new row in this table and a new reference, never a sixth copy of these rules.
A reference is read like a stack reference — by the section a step
needs, never whole. To persist an artifact, read its naming and
format sections and its ## Rules; to recall the baseline before
a run, its ## Recall; to show a stored artifact at the end of a
mission, its ## Show and nothing else; to record a decision, the
ledger reference's ## Recording a decision and ## Rules, and to
record a tree-entry classification, its
## The entry-classification ledger. The ## Return value of a
report reference is what the persistence hands the caller, and what
## Show renders from.
.gitignore.YYYY-MM-DD-HHmm-<run_name>.md: the run's
UTC start time to the minute, so two same-day runs never collide
and a plain listing sorts chronologically — computed with date -u,
never from the local clock (a session crossing local midnight while
UTC has not names the wrong day) — then a short kebab-case slug
naming the content, not the date. The kind's reference adds its own
prefixes and variants./odd-verify and /odd-status
treat a commit that touches only the report stores or a ledger as
memory, not code, while a commit that changes a benchmark or a custom
stack is a code change.For the two report stores and the benchmarks — a custom stack is recalled by name, each ledger is one file; their references own that:
python3 <this skill's directory>/scripts/odd_recall.py --repo <path>
with the mission's scope as flags — the kind's reference says which.
The invocation may travel with the mission: a caller's preflight
that already resolved the scope writes it into the mission block as
Recall: python3 <this skill's directory>/scripts/odd_recall.py --repo <path> --service <name> [--service <name> ...] --stack <stack>
(the observation form — one --service per name, --env left for
the agent to append once it has detected the environment; a benchmark
is recalled by --kind benchmark --service <name> alone, an
instrumentation report by --kind instrumentation --project <scope>),
and the agent runs that line as is — never re-derived, never a flag
guessed. The whole surface is --repo, --kind <observation | instrumentation | benchmark> (default observation), --service,
--stack, --env, --mode (repeatable) and --project
— nothing else: --help has nothing to add and the file has nothing
to read. The script reads every stored frontmatter (a benchmark's manifest) in
Python and prints the matches newest first, one line each; a
report the frontmatter contract flags, or a benchmark whose manifest
it cannot read, is listed and reported, never skipped silently. No
frontmatter reaches the conversation until the baseline is chosen.
A missing or empty store is a first run — the script says so, never
fails. By hand, only when the script cannot run: for a report
store, list it newest first (the filenames sort chronologically) and
read frontmatter blocks only, never whole files; the benchmarks
are a directory store, so list the directories and read the few
manifest keys their reference names, never a whole manifest. Either
way apply the kind's matching rules yourself; a missing or empty
store is a first run then too — say so, never fail.baseline and boundary commands, stated in the
observation reference's ## Resolving a replay; the caller runs
them before the dispatch and the mission block carries their lines.
Reading beyond that set is the exception, for a stated need that the
calling agent records. A benchmark recall has no baseline: the whole
listing is the set the mission checks itself against, and its
reference says what each column answers.Every file of the memory is made to be committed and shared. Never
write a token, credential, cookie, or connection string into one —
refer to access material by variable or secret name only. The same for
real identifiers that carry no access on their own: tenant,
workspace, subscription, resource-group or site names and GUIDs,
account or login names, home-directory paths — anything that identifies
a real customer, tenant or environment — and every value persisted
under a remote stack's stack_config, regions and the local stack
excepted: a log group or a profile name reads like a plain path and
identifies an account all the same; write the field's name in angle
brackets instead (<log_group>). A live CLI excerpt, a
configuration display, or a mission block's preflight handoff is the
likeliest source: every such value lands in the file as an obviously
fake placeholder (Contoso, a zeroed or patterned GUID,
example-user, <scratchpad>). On a host that runs the package's
lifecycle hooks, a hook flags what slipped through, after the write.
An observation report's persist (its reference's script) applies this
section; everywhere else it is applied by hand:
git branch --show-current with the repository's default branch
(git symbolic-ref --short refs/remotes/origin/HEAD stripped of its
origin/ prefix; if unset, main — or master when that is the
checked-out branch). Only when on the default branch, create and
switch to the work branch the kind's reference names (switching to it if
it already exists), commit there, and say so in the reply. If
switching is impossible, do not commit: state the path and leave the
commit to the caller. On a host that runs the package's lifecycle
hooks, a hook refuses the commit itself; this rule stays the
enforcement everywhere else.git add the files the
persistence just wrote, then git commit with the subject the
kind's reference gives (docs(odd): ...) — never stage anything else; a
dirty working tree stays untouched otherwise. If committing is
impossible (not a git repository, or the caller said not to), state
the path and leave the commit to the caller.git rev-parse --short HEAD right after the commit), or
not committed with the reason.## Show needs to render — the
synthesis inputs, quoted from the artifact where the artifact
carries the value, never rephrased, the kind's reference lists them;
or, when the kind ships a script that renders the synthesis from the
stored file, the headline alone, so the block never travels through
the reply — and never the artifact's body: an observation report
runs 300 to 500 lines, the reply travels back into the caller's
context, and the synthesis is its only reader. What the next wave
needs is in the file, at the stored path.## Show renders from that return value, or reads a stored
artifact the caller names from disk, by section, with its carrying
commit from git (git log -1 --format=%h -- <path>) — never from the
conversation's memory of the mission.+N more in the report marker over growing sections.references/benchmark.md (opens in a new tab)references/decisions.md (opens in a new tab)references/observability-stack.md (opens in a new tab)references/observe-run-report.md (opens in a new tab)references/otel-instrumentation-report.md (opens in a new tab)scripts/odd_ledger.py (opens in a new tab)scripts/odd_recall.py (opens in a new tab)scripts/odd_report.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub using-system/oddyssey --plugin oddyssey9 skills in this plugin
/backend-configurationOwn the configured observability backend, in two sections invoked by name. Check: display the configured stack and the instance the runs will hit, prove the CLI connected, guide the user when it is not, and hand the preflight over to the mission. Switch: verify the target backend's CLI is installed (offer a guided install when missing), persist the switch via odd_config_set, persist the per-stack stack_config values the missions will need, then run Check for the proof. Stack-agnostic - the stack list and everything about a given stack come from the observability-cli-guides skill. Use before dispatching an observe, verify or bench mission, when the configured stack must be confirmed or the CLI's connection proven, when the user needs guidance to set their CLI up, and when the user asks to change the configured backend or to persist targeting values. Never installs silently, never authenticates on the user's behalf, never stores or echoes a secret./get-statusRender the state of the ODD loop from the repository's committed .odd/ history and git alone - one screen by default (the loop state per lineage with its burn-down and next action), the full tables on request (per-service loop state, findings ledger, trends, open telemetry gaps) - read-only, no backend queries, no report written. Use when answering where the loop is, when /odd-status runs, or when a status must be computed offline from the clone.Other plugins' skills for the same job