pixir: Skill for Claude Code

.agents/skills/pixir-diagnostics/SKILL.md

pixir-diagnostics is a skill for Claude Code from Ranvier-Technologies/pixir. It costs 61 tokens per session (1,176 once invoked), scanned A, original, MIT.

An evidence-based diagnostic workflow for Pixir and T3 Code Pixir sessions. Pixir is a runtime for agent sessions and subagents; T3 Code is a coding environment that can use it.

In plain words
What is it for?
Use it when a Pixir run, subagent, workflow, provider replay, or dogfooding session is stuck, inconsistent, missing tool output, or difficult to classify.
Why use it?
It helps distinguish facts in session logs from symptoms caused by the user interface, adapters, service providers, or summaries.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

This is Ranvier-Technologies/pixir's own configuration. It tells Claude Code how to work on pixir itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pixir configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Ranvier-Technologies/pixir. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Ranvier-Technologies/pixir/main/.agents/skills/pixir-diagnostics/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Ranvier-Technologies/pixir

Made for: Claude Code.

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 pixir-diagnostics

README.md
[![agentmods](https://agentmods.dev/badge/skills/ranvier-technologies/pixir/pixir-diagnostics/github.svg)](https://agentmods.dev/skills/ranvier-technologies/pixir/pixir-diagnostics)
Your own site
<a href="https://agentmods.dev/skills/ranvier-technologies/pixir/pixir-diagnostics"><img src="https://agentmods.dev/badge/skills/ranvier-technologies/pixir/pixir-diagnostics/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 pixir-diagnostics

Your own site · 80×15
<a href="https://agentmods.dev/skills/ranvier-technologies/pixir/pixir-diagnostics"><img src="https://agentmods.dev/badge/skills/ranvier-technologies/pixir/pixir-diagnostics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,176 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 pass 7 Sept 2026
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.00061 $0.01176
Opus 5.5 $0.00024 $0.00470
Sonnet 5.5 $0.00012 $0.00235
Haiku 4.5 $0.00006 $0.00118

Measured 2mo ago against content hash d7457db89444, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pixir-diagnostics 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 2mo 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.

.agents/skills/pixir-diagnostics/SKILL.md · 141 lines

How it starts

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

Pixir Diagnostics

Use this Skill when Pixir, a Pixir-backed T3 Code thread, or a Pixir Session needs an evidence-backed diagnosis. The goal is to separate canonical Pixir facts from UI, adapter, provider, or assistant-summary symptoms.

This Skill is procedural. Prefer existing Pixir commands first; do not build a new script unless the same manual bundle is repeated enough to justify automation.

Evidence Model

Rank evidence in this order:

  1. Pixir canonical NDJSON Logs under .pixir/sessions/ and child .pixir/subagents/.
  2. Pixir diagnostic commands: doctor, diagnose session, inspect-replay, tree.
  3. T3 Code durable storage or logs.
  4. Screenshots or visible UI state.
  5. Assistant summaries inside the conversation.

Assistant summaries are never proof when they contradict Logs.

Default Workflow

  1. Identify the workspace that owns the Session Log.
  2. Identify the Pixir binary actually used:
    • source checkout: ./pixir
    • Hex install: pixir on PATH
    • T3 provider config: binaryPath
  3. Run local readiness:
pixir doctor --json
  1. If a Pixir Session id is known, run:
pixir diagnose session <session-id> --json
pixir inspect-replay <session-id> --json
pixir tree <session-id> --json
  1. If a T3 thread id is known, locate T3 durable state before guessing:
find "$HOME/Library/Application Support" -maxdepth 3 -iname '*t3*' -print

Then search bounded patterns such as the thread id, Pixir session id, or exact UI error text. Avoid dumping whole LevelDB records into chat.

  1. Produce a short verdict with:
    • classification,
    • evidence paths,
    • pass/fail/warning checks,
    • next action,
    • what not to infer.

Command Surface

Use the repo binary when testing source changes:

mix escript.build
./pixir --version
./pixir doctor --json
./pixir diagnose session <session-id> --json
./pixir inspect-replay <session-id> --after-seq <n> --json
./pixir tree <session-id> --json

Use the Hex binary when diagnosing the installed daily-driver path:

Read the full file on GitHub · 141 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. 2mo ago First seen · 141 lines · 61 tokens per session scan A d7457db89444

Subscribe to this mod's changes

pixir-diagnostics is a skill published in the GitHub repository Ranvier-Technologies/pixir (24 stars, last pushed 1mo ago), licensed MIT. It adds 61 tokens to every session and 1,176 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

pixir-diagnostics compared with skills from other repositories

pixir-diagnostics next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pixir-diagnosticsRanvier-Technologies/pixirSkill241mo agoMITA61Claude Code
runtime-evidence-and-tracingyfge/agent-harness-skillsSkill122d agoMITA39Claude Code
lustrasaski/arnestoSkill64d agoUnlicenseA258Claude Code
source-command-bug-fixing-agentsaski/arnestoSkill64d agoUnlicenseA72Claude Code, Codex
xp-mikado-methodsaski/arnestoSkill64d agoUnlicenseA45Claude Code, Codex
xp-simple-design-refactorsaski/arnestoSkill64d agoUnlicenseA41Claude Code, Codex
xp-predict-problemssaski/arnestoSkill64d agoUnlicenseA36Claude Code, Codex