context7
Fetches up-to-date documentation and code examples for libraries, frameworks, SDKs, CLI tools and cloud services, so an AI agent can answer API questions and generate code against current references.
A Claude skill with repo-specific knowledge of OpenMythos, Kye Gomez's open-source PyTorch reconstruction of a hypothesized Recurrent-Depth Transformer. It helps Claude work with the codebase's main classes and modules.
Claude Code
$ npx -y skills add SarthakDz/OpenMythos-Skill --agent claude-code
Codex
$ npx skills add SarthakDz/OpenMythos-Skill -a codex
Cursor
$ npx skills add SarthakDz/OpenMythos-Skill -a cursor
Gemini CLI
$ npx skills add SarthakDz/OpenMythos-Skill -a gemini-cli
GitHub Copilot
$ npx skills add SarthakDz/OpenMythos-Skill -a github-copilot
OpenCode
$ npx skills add SarthakDz/OpenMythos-Skill -a opencode
Windsurf
$ npx skills add SarthakDz/OpenMythos-Skill -a windsurf
A Claude skill that gives Claude careful, repo-specific knowledge of OpenMythos — Kye Gomez's open-source PyTorch reconstruction of a hypothesized Recurrent-Depth Transformer architecture. When this skill is loaded, Claude acts like a senior engineer who has read every line of open_mythos/main.py: it knows the architectural invariants, the conventions, the debugging playbook, and the papers the repo cites.
This is a third-party harness for working with OpenMythos. It does not modify the OpenMythos codebase, does not redistribute its source, and is not affiliated with either the OpenMythos project or Anthropic.
All the substance this skill knows comes from Kye Gomez's work on OpenMythos:
If you're going to use this skill, go star and read the upstream repo first. The README there is genuinely one of the better explainers of looped-transformer theory I've read — LTI stability via A = exp(-exp(...)), loop-index embedding, ACT halting, Parcae scaling laws, the memorization-reasoning tradeoff, all laid out clearly with citations. This skill is a harness around that content; the content itself is Kye's.
When loaded, the skill triggers whenever Claude sees signals that the user is working on OpenMythos: filenames like open_mythos/main.py, imports like from open_mythos.main import OpenMythos, MythosConfig, symbol names (MythosConfig, RecurrentBlock, LTIInjection, ACTHalting, MoEFFN, MLAttention, GQAttention), variant helpers (mythos_1b through mythos_1t), and debugging symptoms specific to looped training (step-reproducible loss spikes, residual explosion, overthinking drift).
Once triggered, Claude reasons with:
ρ(A) < 1 by construction, e frozen across loops, MoE only in the recurrent block, LM-head weight tying, causal-mask dtype matching activation dtype, loop-index embedding occupying dim // 8 channels, the ACT remainder trick with still_running gating, and not breaking the recurrent loop when a KV cache is present. Silently violating any of these makes the model fail in characteristic ways.model.recurrent.injection.get_A().max() first. "Output quality degrades past N loops" → overthinking, lower act_threshold. "KV cache error on decode step 2+" → someone probably added a break that shouldn't be there.dim, n_heads, expert_dim, n_shared_experts, and lora_rank across the 1B → 1T variants, with the parameter-budget formula from variants.py's header comment.torchrun with model.clip_grad_norm_.There is also a small optional appendix in SKILL.md for users who want Claude to structure its reasoning in a Prelude → Loop → Coda shape (a prompting pattern loosely inspired by the RDT's forward pass). This is off by default, only activates on explicit request ("Mythos mode", "think like Mythos"), and is documented honestly — it's an aesthetic experiment, not a capability claim. A markdown file can't make Claude's weights loop, and the skill says so. If that framing bothers you, delete the appendix; the codebase-expert part of the skill stands on its own.
openmythos/
├── SKILL.md (the skill)
├── README.md (this file)
└── LICENSE
Name the folder openmythos (it must match the name: in SKILL.md) and put it where your Claude client loads skills from. For Claude Code that is ~/.claude/skills/openmythos/ (all projects) or <your-project>/.claude/skills/openmythos/ (one project). Claude picks the skill up on its next turn and fires it when a trigger matches.
Keep the description: in the SKILL.md frontmatter as a single double-quoted line. An unquoted word: word inside it is invalid YAML, and the client then shows only the skill name instead of your trigger text.
Here is one worked prompt, run twice, to give you a sense of what the skill changes. Treat this as illustrative, not as a controlled experiment — both outputs were produced by me (Claude) while I had the skill in my context window, so the no-skill version is my best attempt at ignoring what I just read. That's not a clean A/B test. I'm including it because it's useful for getting a feel for what the skill is aiming at, and I'd rather show you something concrete than hand-wave. Run your own comparison (see the next section) if you want evidence.
Prompt:
"My OpenMythos training run keeps diverging around step 500 — loss was going down nicely, then it spikes to NaN and never recovers. Using mythos_3b, bf16 on an A100, lr 3e-4 with 2000-step warmup, grad clip 1.0, FineWeb-Edu. What's likely wrong?"
Without the skill (generic PyTorch-training diagnostic): Claude lists five plausible causes in the order a competent ML engineer would think of them — aggressive learning rate, gradient explosion, bad data in the stream, bf16 softmax saturation, optimizer state corruption. The suggested diagnostic order is reasonable: log pre-clip gradient norms, log the step-500 batch, try lowering LR, try fp32 softmax. The answer is correct-but-generic and never mentions LTIInjection, spectral radius, or ρ(A) < 1.
With the skill: Claude opens with "This is the exact failure mode OpenMythos's LTIInjection module exists to prevent", identifies step-reproducible spikes as the fingerprint of spectral-radius drift, and gives the exact 30-second diagnostic:
def log_spectral(model, step):
A = model.recurrent.injection.get_A()
print(f"step {step} max(A)={A.max().item():.4f}")
It explains why the A = exp(-exp((log_dt + log_A).clamp(-20, 20))) reparameterization keeps A strictly inside (0, 1) — and therefore why a max(A) reading of exactly 1.0000 needs a fp32 recompute before blaming anything: either the float format rounded it (fp32 does so once log_dt + log_A < -17.3, bf16 above ~0.998), or a channel's decay really went to ~0, or someone modified LTIInjection. It orders the remaining candidates by repo-specific prior probability (gradient explosion through a 16-iteration loop, then warmup geometry × bf16 × loop-depth interaction), and rules out the less-likely pitfalls (e being accidentally recomputed inside the loop, a single bad FineWeb-Edu sample).
The difference worth noticing: the with-skill answer routes the user to the specific 30-second diagnostic that actually distinguishes the most likely cause from the less likely ones. The without-skill answer routes the user toward an afternoon of general-purpose LR and gradient experiments that would eventually converge on the same answer, the slow way.
Both answers are defensible. The with-skill answer is more useful if the user is in fact hitting the OpenMythos-specific failure mode. If the user's actual problem is bad data in the stream, the without-skill answer is closer to the truth. The skill bets that OpenMythos-specific causes are the most likely explanation of OpenMythos-specific failures, which is a reasonable but not infallible prior.
Because the example above is self-graded, here is how to get real evidence for yourself:
This is a real test. The one in the README is a sketch.
SKILL.md is about 165 lines of markdown — easy to edit.## Optional experimental appendix to the end of the file. The rest of the skill stands on its own and is the part that pulls the weight.MIT, matching upstream. The skill content is mine; the architectural knowledge it encodes is drawn from Kye Gomez's OpenMythos repo and the papers the OpenMythos README cites.
Fetches up-to-date documentation and code examples for libraries, frameworks, SDKs, CLI tools and cloud services, so an AI agent can answer API questions and generate code against current references.
Gives Claude Code skills and agents for writing React documentation on react.dev, covering MDX components, voice and style rules, blog post structure, and interactive Sandpack code examples.
An agent skill that turns complex terminal output into styled HTML pages you actually want to read. Ask your agent to explain a system architecture, review a diff, or compare requirements against a plan.
A WYSIWYG markdown editor so you can edit markdown files like a Google Doc or Notion page, with a desktop app and web UI for navigation, search, and wiki-style linking. It also ships skills for working in codebase wiki, personal CRM, and knowledge base projects.
A Claude skill with repo-specific knowledge of OpenMythos, Kye Gomez's open-source PyTorch reconstruction of a hypothesized Recurrent-Depth Transformer. It helps Claude work with the codebase's main classes and modules. Install it with the command on its page. It includes OpenMythos-Skill. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it