Babysitter codeforces-api-client

Interface with Codeforces API for contest data, problem sets, and submissions

install
source · Clone the upstream repo
git clone https://github.com/a5c-ai/babysitter
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/a5c-ai/babysitter "$T" && mkdir -p ~/.claude/skills && cp -r "$T/library/specializations/algorithms-optimization/skills/codeforces-api-client" ~/.claude/skills/a5c-ai-babysitter-codeforces-api-client && rm -rf "$T"
manifest: library/specializations/algorithms-optimization/skills/codeforces-api-client/SKILL.md
source content

Codeforces API Client Skill

Purpose

Interface with the Codeforces API to fetch contest data, problem sets, submissions, and user statistics for competitive programming workflows.

Capabilities

  • Fetch contest problems and metadata
  • Submit solutions and retrieve verdicts
  • Access user standings and rating history
  • Retrieve editorials and problem tags
  • Virtual contest management
  • Fetch recent submissions and status
  • Access problemset by tags and difficulty

Target Processes

  • codeforces-contest
  • progress-tracking
  • skill-gap-analysis
  • upsolving workflows

Integration

Uses the official Codeforces API (https://codeforces.com/apiHelp) with proper rate limiting and authentication when required.

Input Schema

{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": ["getContestProblems", "getUserSubmissions", "getProblemset", "getStandings", "getUserRating"]
    },
    "contestId": { "type": "integer" },
    "handle": { "type": "string" },
    "tags": { "type": "array", "items": { "type": "string" } },
    "count": { "type": "integer", "default": 10 }
  },
  "required": ["action"]
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "data": { "type": "object" },
    "error": { "type": "string" }
  },
  "required": ["success"]
}

Usage Example

{
  "action": "getContestProblems",
  "contestId": 1900
}