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.

Good fit Investigating stuck tasks, repeated CI errors, recurring issue failures, and clusters of revert commits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yologdev/yoyo-evolve/analyze-trajectory
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,931 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.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for analyze-trajectory

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 227
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.5 $0.00018 $0.01398
Sonnet 5.5 $0.00009 $0.00699
Haiku 4.5 $0.00005 $0.00350

Measured 3mo ago against content hash 11f9e35bb846, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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,931 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 3,496 once invoked, about $0.0002 per session on Opus 5.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

analyze-trajectory compared with skills from other repositories

analyze-trajectory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
analyze-trajectoryyologdev/yoyo-evolveSkill1.9kyesterdayMITA46Claude Code, Codex
repair-github-ciTracer-Cloud/opensreSkill18ktodayApache-2.0A40Claude Code, Codex
mcore-create-issueNVIDIA/skillsSkill4.3ktodayApache-2.0A26Claude Code
operating-github-ci-fixerTracer-Cloud/opensreSkill18ktodayApache-2.0A48Claude Code, Codex
debug-taskmoonrepo/moonSkill4.2k2d agoMITA203Claude Code
meta-long-running-build-watchdogopensquilla/opensquillaSkill7.2k7d agoApache-2.0A131Claude Code
analyze-cibenchflow-ai/skillsbenchSkill1.9k2d agoApache-2.0A15Claude Code