trajectory

trajectory is a skill for Claude Code from dynos-fit/dynos-work. It costs 49 tokens per session (519 once invoked), scanned A, original, MIT.

A memory tool for dynos-work that stores compact records of completed tasks and finds similar earlier tasks during discovery or planning. The stored history is advice, not an instruction to copy an old solution.

In plain words
What is it for?
Use it to rebuild task-history records, search for similar prior work, and inform discovery or design review.
Why use it?
It helps provide relevant past context while requiring the current repository and task to remain the source of truth.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 hooks/trajectory.py rebuild --root ..

Part of the dynos-work plugin — 33 skills, 37 agents shipped together

Good fit Use it to rebuild task-history records, search for similar prior work, and inform discovery or design review.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/dynos-fit/dynos-work
agentmods
npx agentmods add skills/dynos-fit/dynos-work/trajectory

Made for: Claude Code.

Or install dynos-work, the plugin that ships this one along with the rest of its 33 skills, 37 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for trajectory

README.md
[![agentmods](https://agentmods.dev/badge/skills/dynos-fit/dynos-work/trajectory.svg)](https://agentmods.dev/skills/dynos-fit/dynos-work/trajectory)
Your own site
<a href="https://agentmods.dev/skills/dynos-fit/dynos-work/trajectory"><img src="https://agentmods.dev/badge/skills/dynos-fit/dynos-work/trajectory.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 519 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00519
Opus 5 $0.00024 $0.00260
Sonnet 5 $0.00010 $0.00104
Haiku 4.5 $0.00005 $0.00052

Measured yesterday against content hash e5efc5ce8382, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

trajectory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/trajectory/SKILL.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

dynos-work: Trajectory (Sequence Memory)

This is the memory layer for prior task traces. It is retrieval support, not an autonomous policy engine.

Ruthlessness Standard

  • Retrieved history is evidence of recurrence, not permission to cargo-cult old solutions.
  • If current code contradicts memory, trust the repo and call the memory mismatch out.
  • Do not store or retrieve traces so loosely that they become decorative noise.

If available in this repo, the deterministic runtime for this skill is:

python3 hooks/trajectory.py rebuild --root .
python3 hooks/trajectory.py search query.json --root . --limit 3

What you do

Step 1 -- Task Trace Extraction (PUSH)

Immediately after a successful task completion and /dynos-work:learn:

  1. Trace Reconstruction: Reconstruct the sequence of (State, Action, Reward) for the entire task.
  2. Update Registry: Push the sequence into the versioned store at .dynos/trajectories.json.
  3. Outcome Summary: Record enough metadata to help future retrieval find similar successful tasks.

Step 2 -- Behavioral Retrieval (PULL)

During the "Founder Phase" or "Planning Phase":

  1. State Signature Search: Call the state-encoder to get the current module's state signature ($).
  2. Trajectory Search: Use the deterministic similarity search in hooks/trajectory.py to find the 3 most similar successful trajectories in trajectories.json.

Step 3 -- Advisory Use

When a similar prior task is found:

  1. Use it to surface likely failure modes, test gaps, and architecture risks.
  2. Never copy its implementation plan or decision path blindly.
  3. If current repo evidence conflicts with retrieved history, trust current repo evidence.

Hard Rules

  • Trajectory Integrity: Never modify a past trajectory; they are immutable ground truth.
  • Anonymization: Strip all local paths and IDs from the trajectories before they are indexed for search.
  • Advisory Only: Retrieval may influence prioritization, but it never overrides hard validation or human approval.
  • Schema First: Trajectories must be written in the versioned store format. Do not append ad hoc JSON blobs.

Read the full file on GitHub · 47 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 47 lines · 49 tokens per session scan A e5efc5ce8382

Subscribe to this mod's changes

trajectory is a skill published in the GitHub repository dynos-fit/dynos-work (2 stars, last pushed yesterday), licensed MIT. It adds 49 tokens to every session and 519 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-07.

Related

Other skills, from other repositories

state

Use when the user says 'update state', 'project state', 'where was I', or at session start to load current context.

cwinvestments/memstack · 29 tokens

ring:dispatching-workflows

Executing a phased plan in rolling waves where each phase runs as one multi-agent workflow harness: the supervisor elaborates the phase into tasks against the real landed code, launches a workflow that implements with TDD and runs mandatory in-harness review plus an adversarial contrarian pass (and researchers when…

LerianStudio/ring · 142 tokens

ring:implementing-tasks

Implementing a single planned task (Task N.M.T) end-to-end: selects the right backend agent by language and service type, drives one TDD RED->GREEN turn, then verifies coverage, lint, license headers, runtime, and delivery before handoff. Runs as Gate 0 before ring:reviewing-code. Use to drive ONE task inside an…

LerianStudio/ring · 103 tokens

ring:managing-dev-cycle

Managing an in-progress development cycle without driving it: status reports phase, epic/gate progress, assertiveness, and elapsed time from current-cycle.json; cancel confirms, marks the cycle cancelled, and writes a partial feedback report. Use when checking the status of, or cancelling, a running dev cycle. Skip…

LerianStudio/ring · 85 tokens

ring:mapping-feature-relationships

Mapping how features relate and phasing the work: categorizing PRD features, grouping them into domains, charting cross-feature journeys, dependencies, and integration points, and defining the binding Phases that plan.md mirrors one-to-one at Gate 7. Gate 2 of ring:planning-large-features; runs after…

LerianStudio/ring · 104 tokens

ring:planning-large-features

Planning the 8-gate Large Track pre-dev workflow (research, PRD, feature map, TRD, API contract, data model, dependency map, plan) with per-gate human approval. Use for features 2+ days that add dependencies, data models, multi-service integration, or new architecture. Skip for small features (use…

LerianStudio/ring · 89 tokens