Agent skill

New Analyzer

by Piebald-AI in Piebald-AI/splitrail

Guide for adding a new AI coding agent analyzer to Splitrail.

MITAuto-check passed

Install New Analyzer

skills CLI
$ npx skills add Piebald-AI/splitrail --skill new-analyzer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Piebald-AI/splitrail new-analyzer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Piebald-AI/splitrail.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/new-analyzer .claude/skills/new-analyzer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
new-analyzer
GitHub stars
223
Token cost
~326 tokens
SKILL.md length
116 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Guide for adding a new AI coding agent analyzer to Splitrail.

  • Works in 7 steps: Add variant to Application enum in… → Create src/analyzers/{agent_name}.rs… → Export in src/analyzers/mod.rs → …
  • Implementing support for a new tool like Copilot
  • SKILL.md covers Checklist, VS Code Extensions and Reference Analyzers
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

New Analyzer is an agent skill from Piebald-AI/splitrail. Guide for adding a new AI coding agent analyzer to Splitrail. Use when implementing support for a new tool like Copilot, Cline, or similar.

Its SKILL.md is about 330 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Visual Studio Code and Qwen. The repository describes itself as: Fast, cross-platform, real-time token usage tracker and cost monitor for Claude Code / Codex CLI / Antigravity CLI / Qwen Code / Cline / Zoo Code / Kilo Code / GitHub Copilot /… The licence is MIT.

When your agent uses it

  • Implementing support for a new tool like Copilot

Example prompts

  • “/new-analyzer”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Add variant to Application enum in src/types.rs
  2. Create src/analyzers/{agent_name}.rs implementing Analyzer trait from src/analyzer.rs
  3. Export in src/analyzers/mod.rs
  4. Register in src/main.rs
  5. Add tests in src/analyzers/tests/{agent_name}.rs, export in src/analyzers/tests/mod.rs
  6. Update README.md
  7. (Optional) Add model pricing to src/models.rs if agent doesn't provide cost data

What it can do on your machine

Read from SKILL.md and the folder at commit d9cbe50. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

New Analyzer loads about 326 tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 116 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~326

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Piebald-AI/splitrail at commit d9cbe50, republished under its MIT licence (© Piebald-AI). 116 words, ~326 tokens.

Download SKILL.mdSave it as .claude/skills/new-analyzer/SKILL.md (or your agent's skills folder).
name
new-analyzer
description
Guide for adding a new AI coding agent analyzer to Splitrail. Use when implementing support for a new tool like Copilot, Cline, or similar.

Adding a New Analyzer

Splitrail tracks token usage from AI coding agents. Each agent has its own "analyzer" that discovers and parses its data files.

Checklist

  1. Add variant to Application enum in src/types.rs
  2. Create src/analyzers/{agent_name}.rs implementing Analyzer trait from src/analyzer.rs
  3. Export in src/analyzers/mod.rs
  4. Register in src/main.rs
  5. Add tests in src/analyzers/tests/{agent_name}.rs, export in src/analyzers/tests/mod.rs
  6. Update README.md
  7. (Optional) Add model pricing to src/models.rs if agent doesn't provide cost data

Test fixtures go in src/analyzers/tests/source_data/. See src/types.rs for message and stats types.

VS Code Extensions

Use discover_vscode_extension_sources() and get_vscode_extension_tasks_dirs() helpers from src/analyzer.rs.

Reference Analyzers

  • Simple JSONL CLI: src/analyzers/pi_agent.rs, src/analyzers/piebald.rs
  • VS Code extension: src/analyzers/cline.rs, src/analyzers/roo_code.rs
  • Complex with dedup: src/analyzers/claude_code.rs
  • External data dirs: src/analyzers/opencode.rs

© Piebald-AI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/new-analyzer of Piebald-AI/splitrail.

Open the folder on GitHubat commit d9cbe50

Compare with similar skills

New Analyzer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

New Analyzer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
New Analyzer this skillPiebald-AI/splitrail223—~326Automated safety check: PassMIT
Marm InitLyellr88/marm-memory418—~7.5kAutomated safety check: NotesApache-2.0
Agent Browser CLIvercel-labs/agent-browser44k24 repos~864Automated safety check: PassApache-2.0
Electron App Automationvercel-labs/agent-browser44k5 repos~1.7kAutomated safety check: PassApache-2.0
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
Microsoft Skill CreatorMicrosoftDocs/mcp1.9k3 repos~2.1kAutomated safety check: PassCC-BY-4.0

Similar skills

  • Marm Init

    Lyellr88/marm-memory

    Guided MARM MCP setup. An agent skill from Lyellr88/marm-memory.

    418 GitHub stars~7.5k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check: notes
  • Agent Browser CLI

    vercel-labs/agent-browser

    Official

    Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking…

    44k GitHub starsUsed in 24 repos~864 tokens
    Productivity & AutomationAuto-check passed
  • Electron App Automation

    vercel-labs/agent-browser

    Official

    Automates Electron desktop apps such as VS Code, Slack or Discord by connecting agent-browser to their Chrome DevTools Protocol port.

    44k GitHub starsUsed in 5 repos~1.7k tokens
    Productivity & AutomationAuto-check passed
  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated today
    Media & CreativeAuto-check passed
  • Microsoft Skill Creator

    MicrosoftDocs/mcp

    Official

    Create agent skills for Microsoft technologies using official documentation.

    1.9k GitHub starsUsed in 3 repos~2.1k tokens
    Agent WorkflowsAuto-check passed
  • Reproduces a feature from Codex or Claude Code in Qwen Code by running the reference agent under capture, reading the traces, then implementing matching behavior.

    28k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed

More from Piebald-AI/splitrail

  • MCP

    Piebald-AI/splitrail

    Guide for working with Splitrail's MCP server. An agent skill from Piebald-AI/splitrail.

    223 GitHub stars~335 tokensUpdated 2 days ago
    Auto-check passed
  • Pricing

    Piebald-AI/splitrail

    Guide for updating model pricing in Splitrail. An agent skill from Piebald-AI/splitrail.

    223 GitHub stars~783 tokensUpdated 2 days ago
    Auto-check passed
  • Performance

    Piebald-AI/splitrail

    Performance optimization guidelines for Splitrail. An agent skill from Piebald-AI/splitrail.

    223 GitHub stars~245 tokensUpdated 2 days ago
    Auto-check passed
  • Tui

    Piebald-AI/splitrail

    Guide for Splitrail's terminal UI and file watching. An agent skill from Piebald-AI/splitrail.

    223 GitHub stars~349 tokensUpdated 2 days ago
    Auto-check passed
  • Types

    Piebald-AI/splitrail

    Reference for Splitrail's core data types. An agent skill from Piebald-AI/splitrail.

    223 GitHub stars~271 tokensUpdated 2 days ago
    Auto-check passed

Questions about New Analyzer

What does New Analyzer do?

Guide for adding a new AI coding agent analyzer to Splitrail. New Analyzer is an agent skill from Piebald-AI/splitrail. Guide for adding a new AI coding agent analyzer to Splitrail.

When should I use New Analyzer?

New Analyzer fits situations like: implementing support for a new tool like Copilot.

How do I install New Analyzer in Claude Code?

Run `npx skills add Piebald-AI/splitrail --skill new-analyzer -a claude-code`. Or copy the skill folder (.claude/skills/new-analyzer in Piebald-AI/splitrail) into .claude/skills/new-analyzer in your project. Claude Code loads it when a task matches its description.

How do I install New Analyzer in Codex?

Run `npx skills add Piebald-AI/splitrail --skill new-analyzer -a codex`. Or copy the skill folder (.claude/skills/new-analyzer in Piebald-AI/splitrail) into .agents/skills/new-analyzer in your project. Codex loads it when a task matches its description.

Can I use New Analyzer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Piebald-AI/splitrail --skill new-analyzer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/new-analyzer, .gemini/skills/new-analyzer, .github/skills/new-analyzer and .opencode/skills/new-analyzer in your project.

What does New Analyzer need to run?

SKILL.md names no scripts, command-line tools or credentials: New Analyzer is instructions for the agent only.

Does New Analyzer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is New Analyzer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does New Analyzer use?

New Analyzer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does New Analyzer use?

About 326 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to New Analyzer?

Skills that share tags, products or a category with New Analyzer: Marm Init (Lyellr88/marm-memory, 418 stars), Agent Browser CLI (vercel-labs/agent-browser, 44k stars), Electron App Automation (vercel-labs/agent-browser, 44k stars) and AI Image Generation and Editing (zhayujie/CowAgent, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains New Analyzer?

Piebald-AI (a GitHub organization) maintains it in Piebald-AI/splitrail, which has 223 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 7, 2026.

Source: Piebald-AI/splitrail on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.