analyze-trajectory

analyze-trajectory is a skill for Claude Code, Codex from yologdev/yoyo-evolve. It costs 46 tokens per session (3,496 once invoked), scanned A, original, MIT.

A diagnostic workflow for finding the cause of failures that keep recurring in tasks or continuous-integration checks. It uses sub-agents to examine large CI logs and returns a short diagnosis.

In plain words
What is it for?
Investigating stuck tasks, repeated CI errors, recurring issue failures, and clusters of revert commits.
Why use it?
It reduces the need to load noisy, lengthy logs into the main working conversation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

About the project

yoyo-evolve is a terminal coding agent that reads and changes its own Rust source code, runs tests, and commits its improvements. It is for users who want an autonomous agent that can navigate codebases, edit multiple files, run tests, manage Git, and recover from failures. The catalogue entries are skills for working with this coding agent.

yologdev/yoyo-evolve · 1,869 stars · on GitHub · yoyo.yolog.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/yologdev/yoyo-evolve/analyze-trajectory
Any agent
npx skills add yologdev/yoyo-evolve --skill analyze-trajectory
Clone the repo
git clone --depth 1 https://github.com/yologdev/yoyo-evolve

Made for: Claude Code, Codex.

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 analyze-trajectory

README.md
[![agentmods](https://agentmods.dev/badge/skills/yologdev/yoyo-evolve/analyze-trajectory.svg)](https://agentmods.dev/skills/yologdev/yoyo-evolve/analyze-trajectory)
Your own site
<a href="https://agentmods.dev/skills/yologdev/yoyo-evolve/analyze-trajectory"><img src="https://agentmods.dev/badge/skills/yologdev/yoyo-evolve/analyze-trajectory.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,496 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00046 $0.03496
Opus 5 $0.00023 $0.01748
Sonnet 5 $0.00009 $0.00699
Haiku 4.5 $0.00005 $0.00350

Measured 6d ago against content hash 11f9e35bb846, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

analyze-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 6d ago.

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/analyze-trajectory/SKILL.md · 253 lines

How it starts

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

Analyze Trajectory

You are doing a deep dive into a recurring failure pattern. The harness's pre-computed YOUR TRAJECTORY block surfaces that something is recurring; this skill helps you understand why and produce a focused diagnosis.

This skill exists because raw GitHub Actions logs are too large and noisy to digest in your main context window. The pattern (Recursive Language Model — see Reithan's reference in issue #226) is: keep your root context small, dispatch a sub-agent to read the raw logs, and have the sub-agent return a 1-3 sentence summary. Recurse if the summary surfaces a deeper question.

When to use

Trigger this skill when ANY of these hold:

  • YOUR TRAJECTORY flagged a STUCK task (≥3 attempts in window, 0 successes)
  • A CI error fingerprint appeared ≥2× in the recurring-errors section
  • Multiple revert commits appeared across recent sessions (the trajectory's "Reverts in window" line shows the count)
  • A specific issue (e.g. #205) has been mentioned in multiple session journals without resolution

When NOT to use

  • The trajectory looks healthy. Don't spelunk for problems that aren't there — that's just burning sub-agent budget.
  • The failure is well-understood already (you already know the cause from journal/learnings). Skip straight to the fix.
  • You're inside Phase B (implementation) and the failure is the task you're currently doing — fix it directly, don't recurse.

Procedure

1. Frame the question (single sentence)

Examples of well-framed questions:

  • "Why does the evaluator phase fail with 'AnthropicError: rate_limit_exceeded' on sessions day-53, day-55, and day-56?"
  • "Why was the task 'Add /fallback flag' reverted on 6 separate sessions? What's the recurring blocker?"
  • "What does run 4321 look like at the moment of failure?"

A good question names a specific event (run id, session day, error fingerprint) and what you want to know about it. Don't ask vague questions like "what's wrong with my trajectory?"

Read the full file on GitHub · 253 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. 6d ago First seen · 253 lines · 46 tokens per session scan A 11f9e35bb846

Subscribe to this mod's changes

analyze-trajectory is a skill published in the GitHub repository yologdev/yoyo-evolve (1,869 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 3,496 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-08-30.

Related

Other skills, from other repositories

Verification & Quality Assurance

Comprehensive truth scoring, code quality verification, and automatic rollback system with 0.95 accuracy threshold for ensuring high-quality agent outputs and codebase reliability.

ruvnet/RuView · 36 tokens

smoke-test

Health smoke tests + auto-fix for gbrain installs (and OpenClaw services when present). Run after machine/container restarts or whenever something seems broken. Tests critical services, auto-fixes bounded local issues, and reports worker topology without starting daemons. Extensible via user-defined test scripts in…

garrytan/gbrain · 79 tokens

azdo-build-investigator

Investigate CI failures for dotnet/maui PRs and the nightly/official signed build — build errors, Helix test logs, and binlog analysis. Use when asked about failing checks, CI status, test failures, 'why is CI red', 'build failed', 'what's failing on PR', 'is this PR ready to merge', Helix failures, device test…

dotnet/maui · 115 tokens

fix-ci

Check CI status, analyze test failures, auto-fix obvious issues or discuss with user.

questdb/questdb · 20 tokens

ci-fix

Common safety and triage protocol for .NET MAUI CI-fixer workflows. Use whenever investigating, creating, or advancing a [ci-fix] or [ci-fix-net11] pull request from a ci-scan issue, including frozen ownership snapshots, Continue/Watch/Stop/Skip classification, manual single-issue dispatches, and scheduled sweeps.

dotnet/maui · 81 tokens

mcore-create-issue

Investigate a failing GitHub Actions run or job and create a GitHub issue for the failure.

NVIDIA/skills · 26 tokens