ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

nccuoj

Solve competitive programming problems on NCCUOJ (https://nccuoj.ebg.tw). Use when: solving OJ problems, reading problem statements, writing solutions in C/C++/Python, submitting code, checking submission results.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/andyjjrt/nccuoj
Or

What This Skill Does

The nccuoj skill is an advanced automation toolkit designed to integrate OpenClaw with the NCCUOJ (National Chengchi University Online Judge) platform. It provides a structured interface for interacting with the judge, allowing the AI agent to fetch problem statements, manage local solution files, submit code for evaluation, and monitor contest progress. By automating the boilerplate of session management, CSRF token handling, and directory organization, this skill enables seamless competitive programming workflows within your development environment.

Installation

To integrate this skill into your OpenClaw ecosystem, execute the following command in your terminal: clawhub install openclaw/skills/skills/andyjjrt/nccuoj

Use Cases

  • Competitive Programming Preparation: Fetch problem statements and test cases directly to your workspace to analyze logic before coding.
  • Automated Submission: Streamline the development lifecycle by writing, testing, and submitting C++/Python solutions directly from your editor.
  • Performance Debugging: Use the submission monitoring tools to track runtime errors or time limit issues (TLE) during practice sessions.
  • Contest Participation: Efficiently organize and solve contest problems by leveraging the pre-defined directory structure, keeping your public and contest work separate.

Example Prompts

  1. "Fetch the problem statement for problem 1005 from NCCUOJ and save it to my workspace."
  2. "I have finished my solution for the current contest problem; please submit my solution.py file to NCCUOJ using my credentials."
  3. "Check the status of my last submission for problem 2001. If it resulted in a WA, show me the error details."

Tips & Limitations

  • Authentication: Always ensure you have your NCCUOJ credentials ready if the problem is private or contest-restricted. The skill handles session cookies internally, so you only need to provide credentials when requested.
  • Directory Management: Rely on the built-in scripts and helpers. They automatically structure files under .nccuoj/, ensuring that you never lose track of your past work or contest submissions.
  • CSRF Tokens: Do not manually attempt to spoof API requests; the provided Python scripts in the ./scripts/ directory are pre-configured to fetch and manage CSRF tokens automatically, ensuring stable communication with the platform.

Metadata

Author@andyjjrt
Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-andyjjrt-nccuoj": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#competitive-programming#nccuoj#coding#automation
Safety Score: 4/5

Flags: network-access, file-write, file-read, external-api, code-execution