clist: Skill for Claude Code

.agents/skills/add-parser/SKILL.md

add-parser is a skill for Claude Code, Codex from aropan/clist. It costs 44 tokens per session (780 once invoked), scanned A, original, Apache-2.0.

A workflow for adding, repairing, or debugging a CLIST contest standings parser. A parser reads a contest website's data and converts it into the ranking system's expected format.

In plain words
What is it for?
Use it when working on judge scrapers in the ranking modules, adding a new leaderboard source, fixing standings parsing, or testing a contest re-parse.
Why use it?
It explains the required interface and project conventions, reducing the chance that a new scraper breaks standings or contest metadata. It also encourages comparison with existing parsers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is aropan/clist's own configuration. It tells Claude Code and Codex how to work on clist 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 clist configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aropan/clist. 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/aropan/clist/master/.agents/skills/add-parser/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/aropan/clist

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 add-parser

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aropan/clist/add-parser"><img src="https://agentmods.dev/badge/skills/aropan/clist/add-parser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 780 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.00044 $0.00780
Opus 5.5 $0.00018 $0.00312
Sonnet 5.5 $0.00009 $0.00156
Haiku 4.5 $0.00004 $0.00078

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

Security

Grade A, and why

add-parser 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 1mo 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/add-parser/SKILL.md · 81 lines

How it starts

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

Add or fix a CLIST parser

Judge parsers live in src/ranking/management/modules/. Most expose a Statistic class that subclasses BaseModule; some extend another parser. Read two similar modules before editing.

The contract

Implement Statistic.get_standings(self, users=None, statistics=None, **kwargs) using the contest metadata on self (url, key, info, standings_url, resource). Return site-specific standings in the shape below. Use a similar existing module for the request and row mapping; there is no shared response schema across judges.

Return shape

get_standings returns a dict with at least result: a mapping of member -> row. Common row keys:

  • member (required, str) — stable per-user handle/id.
  • place, solving, name.
  • problems — {short: {'result': '+', 'time': '01:23', ...}} per-problem.
  • info — extra per-row data (avatar, rating, country…).

Optional dict keys alongside result: problems (contest problem list), url, options, hidden_fields, season.

Rules of the road

  • Use REQ (from ...common import REQ) for HTTP — never raw requests. It handles cookies, proxies, retries. REQ.get(url, post=..., return_json=True, headers=...).
  • Reuse helpers in src/utils/: regex, timetools, and clist.templatetags.extras.get_item for safe nested lookups.
  • Raise ExceptionParseStandings (from .excepts) on bad/unexpected responses, not bare Exception.
  • Keep it minimal and match the style of neighboring modules. Don't add new dependencies.
  • Optional methods only if needed: get_users_infos(users, resource, accounts, pbar) (profile/rating data), get_source_code(contest, problem).

Good clean references to read: highload.py, algorithm_yandex.py, codeforces_gym.py. For HTML scraping (not JSON) look at modules using REQ.get(...) + parsing.

Verification

Run a relevant recorded fixture offline when one exists:

docker compose exec dev ./manage.py test --keepdb ranking.tests.test_parsers

Read the full file on GitHub · 81 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. 1mo ago Changed · -20 lines · -33 tokens per session 8100a3a19933
  2. 2mo ago First seen · 101 lines · 77 tokens per session scan A 8ca75eb82356

Subscribe to this mod's changes

add-parser is a skill published in the GitHub repository aropan/clist (439 stars, last pushed yesterday), licensed Apache-2.0. It adds 44 tokens to every session and 780 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

add-parser compared with skills from other repositories

add-parser next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-parseraropan/clistSkill439yesterdayApache-2.0A44Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7k3d agoMITA71Claude Code, Codex
cwv-optimizeradobe/skillsSkill319yesterdayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2kyesterdayApache-2.0A15Claude Code, Codex
incident-response-incident-responsermyndharis/antigravity-skillsSkill1.9k23d agoMITA36Claude Code
triaging-web-analytics-supportPostHog/posthogSkill41ktodaynoneA151Claude Code, Codex