competitive-programming-expert

competitive-programming-expert is a skill for Claude Code from Miaoge-Ge/coding-agent-skills. It costs 67 tokens per session (939 once invoked), scanned A, original, MIT.

A guide for solving timed programming problems on platforms such as LeetCode, Codeforces, and AtCoder. It covers algorithms, data structures, implementation, and time or memory complexity—the resources a solution uses.

In plain words
What is it for?
Use it to solve algorithm challenges, optimize code with time-limit or memory-limit failures, and implement data structures or solution patterns.
Why use it?
It helps find solutions that are both correct and fast enough for strict contest limits.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the competitive-programming-expert plugin — 1 skill shipped together

Good fit Use it to solve algorithm challenges, optimize code with time-limit or memory-limit failures, and implement data structures or solution patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/miaoge-ge/coding-agent-skills/competitive-programming-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Miaoge-Ge/coding-agent-skills --skill competitive-programming-expert
Clone the repo
git clone --depth 1 https://github.com/Miaoge-Ge/coding-agent-skills

Made for: Claude Code.

Or install competitive-programming-expert, the plugin that ships this one along with the rest of its 1 skill.

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 competitive-programming-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/miaoge-ge/coding-agent-skills/competitive-programming-expert/github.svg)](https://agentmods.dev/skills/miaoge-ge/coding-agent-skills/competitive-programming-expert)
Your own site
<a href="https://agentmods.dev/skills/miaoge-ge/coding-agent-skills/competitive-programming-expert"><img src="https://agentmods.dev/badge/skills/miaoge-ge/coding-agent-skills/competitive-programming-expert/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 competitive-programming-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/miaoge-ge/coding-agent-skills/competitive-programming-expert"><img src="https://agentmods.dev/badge/skills/miaoge-ge/coding-agent-skills/competitive-programming-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 939 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.
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.00067 $0.00939
Opus 5.5 $0.00027 $0.00376
Sonnet 5.5 $0.00013 $0.00188
Haiku 4.5 $0.00007 $0.00094

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

Security

Grade A, and why

competitive-programming-expert 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.

plugins/competitive-programming-expert/skills/competitive-programming-expert/SKILL.md · 102 lines

How it starts

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

Competitive Programming Problem Solver

Description

Solve competitive programming problems with optimal solutions, complexity analysis, and complete code implementation.

When to Use

  • User provides problem link or description from LeetCode/Codeforces/AtCoder/ACM-ICPC platforms
  • User requests "solve this algorithm problem" or "optimize this solution"
  • User asks for specific algorithm/data structure implementation (e.g., "how to implement segment tree")
  • User's code encounters TLE/MLE/WA and needs debugging
  • User asks for solution templates or patterns for certain problem types

When NOT to Use

  • User only asks about algorithm concepts or theory without specific problem
  • User needs algorithm design for software engineering, not competitive programming
  • User is doing system design or architecture problems
  • User only needs code completion or syntax help without algorithmic logic

Input

{
  problem: string          // Problem description or link
  platform?: string        // Platform name (leetcode/codeforces/atcoder, etc.)
  language?: string        // Preferred language (default: C++ or Python)
  userCode?: string        // User's existing code (for optimization/debugging)
  constraints?: {          // Problem constraints
    timeLimit?: string     // e.g., "1s", "2s"
    memoryLimit?: string   // e.g., "256MB"
    inputSize?: string     // e.g., "n ≤ 10^5"
  }
}

Output

{
  analysis: {
    type: string           // Problem type (DP/Graph/Greedy/Number Theory, etc.)
    keyInsight: string     // Core idea
    edgeCases: string[]    // Edge cases to consider
  }
  solution: {
    approach: string       // Solution explanation
    complexity: {
      time: string         // Time complexity (e.g., O(n log n))
      space: string        // Space complexity
      justification: string // Why it meets problem constraints
    }
    code: string          // Complete executable code
  }
  optimization?: string   // Optional optimization suggestions
}

Read the full file on GitHub · 102 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 First seen · 102 lines · 67 tokens per session scan A 2c96dfc885e4

Subscribe to this mod's changes

competitive-programming-expert is a skill published in the GitHub repository Miaoge-Ge/coding-agent-skills (7 stars, last pushed 4mo ago), licensed MIT. It adds 67 tokens to every session and 939 once invoked, about $0.0003 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-31.