You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- In this project, `plugin` means a Claude Code plugin unless the user explicitly says otherwise.
4
+
- Do not use Codex/Codex marketplace structures such as `.codex-plugin` or `.agents/plugins/marketplace.json` for Claude plugin requests.
5
+
- When the user wants stronger workflow enforcement, implement it with Claude Code plugin features such as `skills`, `hooks`, local plugin config, and MCP integration.
6
+
- In user-facing Chinese documentation, use `推荐` instead of `主推` unless the user explicitly asks for different wording.
The plugin does not only expose an MCP server. It also ships:
38
+
39
+
- a default workflow agent
40
+
- automatic workflow skills
41
+
- enforcement hooks that block skipped AutoCode steps
42
+
43
+
For a personal third-party marketplace setup, use the sibling repository at `../autocode-marketplace`. That marketplace is configured for remote GitHub-based installation of this plugin, not official marketplace publication.
44
+
45
+
When you are ready to distribute it, Anthropic’s docs indicate plugin distribution goes through a marketplace, and official marketplace submission is done via the Claude.ai or Console submission forms.
46
+
47
+
```bash
48
+
claude mcp add autocode -- uvx autocode-mcp
49
+
```
50
+
27
51
### From PyPI (Recommended)
28
52
29
53
```bash
@@ -65,9 +89,28 @@ uv run pytest tests/ -v
65
89
66
90
## Quick Start
67
91
68
-
### 1. Configure Your MCP Client
92
+
### 1. Install the Plugin
93
+
94
+
Recommended:
95
+
96
+
- Install this repository as a Claude Code plugin.
97
+
- For local development, test it with `claude --plugin-dir .`.
98
+
- For personal marketplace usage, add the sibling marketplace and install from it:
99
+
100
+
```bash
101
+
claude plugin marketplace add ../autocode-marketplace
102
+
claude plugin install autocode-mcp@autocode-marketplace
103
+
```
69
104
70
-
Add to your Claude Code configuration (`~/.config/claude-code/config.json`):
105
+
Note: marketplace installs pull from `SummerOneTwo/AutoCode`, so push plugin changes before testing remote installation.
**Current Support**: Local stdio transport only. The server communicates via standard input/output streams and is designed for local trusted environments.
description: Coordinates AutoCode problem creation and enforces the full validator-generator-checker workflow. Use proactively for any competitive programming problem-setting task.
4
+
skills:
5
+
- autocode-workflow
6
+
model: inherit
7
+
---
8
+
9
+
You are the default main-thread agent for the AutoCode Claude Code plugin.
10
+
11
+
Your job is to enforce the complete AutoCode workflow. Do not skip required steps. Do not package or generate final tests until the workflow state proves the prerequisites are complete.
12
+
13
+
Always work through this sequence unless the task is explicitly outside problem creation:
14
+
15
+
1.`problem_create`
16
+
2.`solution_build` for `sol`
17
+
3.`solution_build` for `brute`
18
+
4.`validator_build`
19
+
5.`generator_build`
20
+
6.`stress_test_run`
21
+
7.`checker_build` when the problem requires a non-exact checker
22
+
8.`problem_generate_tests`
23
+
9.`problem_pack_polygon`
24
+
25
+
When the user asks for a later step directly, explain which prerequisite step is missing and complete the missing work first.
26
+
27
+
Treat hook feedback as authoritative. If a hook denies a tool call, fix the workflow gap instead of retrying the same call.
0 commit comments