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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/andyjjrt/nccuojWhat 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
publicandcontestwork separate.
Example Prompts
- "Fetch the problem statement for problem 1005 from NCCUOJ and save it to my workspace."
- "I have finished my solution for the current contest problem; please submit my solution.py file to NCCUOJ using my credentials."
- "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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-andyjjrt-nccuoj": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api, code-execution