Agent skill

Add Parser

by aropan in aropan/clist

Add, fix, or debug a Django standings parser in src/ranking/management/modules/, including Statistic.getstandings, leaderboard scraping, and offline regression fixtures.

Apache-2.0Auto-check passedData & Analytics

Install Add Parser

skills CLI
$ npx skills add aropan/clist --skill add-parser -a claude-code

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

GitHub CLI
$ gh skill install aropan/clist add-parser --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/aropan/clist.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/add-parser .claude/skills/add-parser && 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
add-parser
GitHub stars
439
Token cost
~812 tokens
SKILL.md length
359 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
Apache-2.0

At a glance

Add, fix, or debug a Django standings parser in src/ranking/management/modules/, including Statistic.getstandings, leaderboard scraping, and offline regression fixtures.

  • Tasks that involve Statistics
  • SKILL.md covers The contract, Verification, Wiring a brand-new judge and When done, report
  • Calls docker
  • Tasks that involve Web scraping

What it does

Add Parser is an agent skill from aropan/clist. Add, fix, or debug a Django standings parser in src/ranking/management/modules/, including Statistic.getstandings, leaderboard scraping, and offline regression fixtures. Excludes legacy PHP schedule parsers.

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

It sits in Data & Analytics, covering Statistics, Web scraping and Backend development. It works with Django and PHP. The repository describes itself as: Your comprehensive guide to global programming contests. Track events, get details, and never miss a competition. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Statistics
  • Tasks that involve Web scraping
  • Tasks that involve Backend development

Example prompts

  • “/add-parser”

Requirements

  • Docker

What it can do on your machine

Read from SKILL.md and the folder at commit 827e89a. 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

    Shell commands in SKILL.md call:

    • docker

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

  • Network

    No URLs in SKILL.md. Its commands use docker, which can reach the network depending on how they are called.

    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

Add Parser loads about 812 tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 359 words of instructions outside code blocks.

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

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 aropan/clist at commit 827e89a, republished under its Apache-2.0 licence (© aropan). 359 words, ~812 tokens.

Download SKILL.mdSave it as .claude/skills/add-parser/SKILL.md (or your agent's skills folder).
name
add-parser
description
Add, fix, or debug a Django standings parser in src/ranking/management/modules/, including Statistic.get_standings, leaderboard scraping, and offline regression fixtures. Excludes legacy PHP schedule parsers.

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.

Show full SKILL.md (141 more words)Show less

Verification

Run a relevant recorded fixture offline when one exists:

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

See parser regression tests for fixture selection and recording. Recording makes live requests and writes fixture files. parse_statistic also makes live requests and can write to the development database even with --no-update-results (contest problems and event logs). Use it only when the task calls for a live parse and those effects are acceptable; consult ./manage.py parse_statistic --help for current flags.

Wiring a brand-new judge

A parser file alone isn't enough for a new site: a Resource + its Module (Module.path = ranking.management.modules.<host>) must exist in the DB. If the resource already exists, just edit/add the .py. If it's a new resource, say so and confirm how the resource row should be created before assuming.

When done, report

Module changed, fixture/test commands and results, and whether any live requests or database writes were performed.

© aropan, Apache-2.0. 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 .agents/skills/add-parser of aropan/clist.

Open the folder on GitHubat commit 827e89a

Compare with similar skills

Add Parser 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.

Add Parser compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Parser this skillaropan/clist439—~812Automated safety check: PassApache-2.0
Assess Migrationmendixlabs/mxcli128—~3.6kAutomated safety check: NotesApache-2.0
Querying Indonesian Gov Datasuryast/indonesia-gov-apis172—~997Automated safety check: PassMIT
Junta Leiloeirossickn33/agentic-awesome-skills47k2 repos~1.6kAutomated safety check: PassMIT
Rendering Strategieskostja94/marketing-skills1k—~1.6kAutomated safety check: PassMIT
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT

Similar skills

  • Assess Migration

    mendixlabs/mxcli

    Investigate an existing non-Mendix application (Java, .NET, Python, Node, PHP, …) and produce a structured migration assessment for Mendix.

    128 GitHub stars~3.6k tokensUpdated today
    Backend & APIsAuto-check: notes
  • Querying Indonesian Gov Data

    suryast/indonesia-gov-apis

    Query 57 Indonesian government APIs and data sources — BPJPH halal certification, BPOM food safety, OJK financial legality, BPS statistics, BMKG weather/earthquakes, Bank Indonesia exchange rates…

    172 GitHub stars~997 tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Junta Leiloeiros

    sickn33/agentic-awesome-skills

    Coleta e consulta dados de leiloeiros oficiais de todas as 27 Juntas Comerciais do Brasil.

    47k GitHub starsUsed in 2 repos~1.6k tokens
    Backend & APIsAuto-check passed
  • Rendering Strategies

    kostja94/marketing-skills

    When the user wants to choose or optimize rendering strategy for SEO.

    1k GitHub stars~1.6k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Configuring Horizon

    coollabsio/coolify

    A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed
  • Fortify Development

    coollabsio/coolify

    ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 4 repos~1.9k tokens
    Backend & APIsAuto-check passed

More from aropan/clist

  • Add or change a CLIST Django management command, including arguments, resource selection, EventLog monitoring, or cron and Healthchecks wiring.

    439 GitHub stars~848 tokensUpdated 3 days ago
    Auto-check passed
  • Safe Migration

    aropan/clist

    Plan, create, or apply CLIST Django schema and data migrations, including model field changes, makemigrations, migrate, and RunPython operations.

    439 GitHub stars~577 tokensUpdated 3 days ago
    Auto-check passed
  • Run And Verify

    aropan/clist

    Choose and run focused checks after changing CLIST Python code: Django tests, standalone pytest tests, offline parser fixtures, Ruff, or a relevant management-command check.

    439 GitHub stars~461 tokensUpdated 3 days ago
    Auto-check passed

Works with

Questions about Add Parser

What does Add Parser do?

Add, fix, or debug a Django standings parser in src/ranking/management/modules/, including Statistic.getstandings, leaderboard scraping, and offline regression fixtures. Add Parser is an agent skill from aropan/clist.getstandings, leaderboard scraping, and offline regression fixtures.

When should I use Add Parser?

Add Parser fits situations like: tasks that involve Statistics; tasks that involve Web scraping; tasks that involve Backend development.

How do I install Add Parser in Claude Code?

Run `npx skills add aropan/clist --skill add-parser -a claude-code`. Or copy the skill folder (.agents/skills/add-parser in aropan/clist) into .claude/skills/add-parser in your project. Claude Code loads it when a task matches its description.

How do I install Add Parser in Codex?

Run `npx skills add aropan/clist --skill add-parser -a codex`. Or copy the skill folder (.agents/skills/add-parser in aropan/clist) into .agents/skills/add-parser in your project. Codex loads it when a task matches its description.

Can I use Add Parser 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 aropan/clist --skill add-parser -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-parser, .gemini/skills/add-parser, .github/skills/add-parser and .opencode/skills/add-parser in your project.

What does Add Parser need to run?

Going by SKILL.md and its folder, Add Parser needs the command-line tools its instructions call (docker). Our summary lists: Docker.

Does Add Parser access the network?

SKILL.md contains no URLs. Its commands use docker, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Add Parser 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 Add Parser use?

Add Parser is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Add Parser use?

About 812 tokens (SKILL.md is roughly 3.2k 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 Add Parser?

Skills that share tags, products or a category with Add Parser: Assess Migration (mendixlabs/mxcli, 128 stars), Querying Indonesian Gov Data (suryast/indonesia-gov-apis, 172 stars), Junta Leiloeiros (sickn33/agentic-awesome-skills, 47k stars) and Rendering Strategies (kostja94/marketing-skills, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Parser?

aropan (a GitHub user) maintains it in aropan/clist, which has 439 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 4, 2026.

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