a2ui
Make a reply easier to read and act on with rich blocks inside ordinary Markdown — a choice…
Run ACE (Agentic Context Engineering, Zhang et al. 2025) on an agent the sequential offline way - a Reflector reads each training Trace, a Curator adds the lessons to a playbook of rules the agent reads before every task, and the final playbook is measured on a published
$ npx -y skills add Prism-Shadow/penguin-harness --skill ace-rsi-toolkit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ace-rsi-toolkitContext preview
The summary Claude sees to decide when to auto-load this skill.
Run ACE (Agentic Context Engineering, Zhang et al. 2025) on an agent the sequential offline way - a Reflector reads each training Trace, a Curator adds the lessons to a playbook of rules the agent reads before every task, and the final playbook is measured on a published
name: ace-rsi-toolkit description: Run ACE (Agentic Context Engineering, Zhang et al. 2025) on an agent the sequential offline way - a Reflector reads each training Trace, a Curator adds the lessons to a playbook of rules the agent reads before every task, and the final playbook is measured on a published Benchmark. version: 2026.10.12.1
[Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models](https://arxiv.org/abs/2510.04618), Zhang et al., 2025 ([arXiv:2510.04618v1](https://arxiv.org/abs/2510.04618v1), §3–4 and Appendix B). GitHub: [ace-agent/ace](https://github.com/ace-agent/ace). Verified implementation revision `82709de050e1db6e6ef2f07bcb0393560b94992a`, chiefly `ace/ace.py` (`_train_single_sample`, `_offline_train`), `ace/core/reflector.py`, `ace/core/curator.py`, `ace/prompts/` and `playbook_utils.py`. This Skill runs the **sequential offline** algorithm: the Target (the paper's Generator) solves one training case at a time with the current playbook, a Reflector diagnoses that execution, and a Curator adds the lessons the playbook lacks as itemized rules; the final playbook is then measured on the frozen Benchmark. Run the method the way the paper does; every departure is a declared adaptation reported at the end.
This Skill needs `run_subagent`, so it runs in a top-level Session. If the message only names it, ask which agent to train and on which published Benchmark. Otherwise resolve the inputs below and ask only for a missing Target or Benchmark; everything else has a default.
| Setting | Smoke profile (default) | Source | | --- | --- | --- | | `num_epochs` | 1 | release default 1; the paper's experiments use up to 5 | | `max_num_rounds`: reflections per incorrect sample | 3 | release default 3; the paper's experiments use up to 5 | | `curator_frequency`: curate after every k-th sample | 1 | batch size 1, as in the paper's experiments | | `playbook_token_budget` | 80000 | release default | | `use_bulletpoint_analyzer`: embedding deduplication | false | release default | | Training order | the case ids, sorted | fixed before the first execution |
Budget, for C training cases, E epochs, M rounds, k = `curator_frequency` and R runs: at most `E × C × (2 + M)` training executions of the Target, `2 × C × R` executions for the H1 and final measurements (plus `2 × C' × R` on a test Benchmark of C' cases), at most `E × C × M` Reflector calls and `E × ⌊C / k⌋` Curator calls. Before the first execution, state the profile and these numbers. Never launch the paper's full budget (5 epochs, 5 rounds) implicitly: a profile above the smoke one runs only when the user asks for it, after you have restated its arithmetic.
Resolve every path from your Environment's `App Data Dir`, as `references/evaluation.md` does; never search for the Project:
PROJECT_DIR = <app_data_dir> PROJECT_ID = basename of PROJECT_DIR PENGUIN_HOME = dirname of PROJECT_DIR TARGET = PROJECT_DIR/agents/<test_agent_id> STATE = TARGET/agent_state BENCHMARK = PROJECT_DIR/benchmarks/<benchmark_id> CASE = BENCHMARK/<case_id> # statement/README.md is public; rubric/README.md is private SCOREBOARD = BENCHMARK/scoreboard.yaml SKILL_DIR = PROJECT_DIR/agents/<your Agent ID>/agent_state/skills/ace-rsi-toolkit PLAYBOOK = STATE/skills/ace-playbook # SKILL.md + rules.yaml, the only learned slot OUT = <this Session's scratchpad>/ace-rsi-toolkit/<experiment_id>
`<experiment_id>` is `<test_agent_id>-<UTC time as YYYYMMDDTHHMMSSZ>`. Before the first execution, write `OUT/experiment.yaml`; its `dimensions` place the run in the Awesome-RSI taxonomy:
method: ACE
paper: "Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models"
arxiv_url: https://arxiv.org/abs/2510.04618
github_url: https://github.com/ace-agent/ace
source_revision: 82709de050e1db6e6ef2f07bcb0393560b94992a
settings: { num_epochs: 1, max_num_rounds: 3, curator_frequency: 1, playbook_token_budget: 80000, use_bulletpoint_analyzer: false, correct: "score = 100" }
test_agent_id: <id>
benchmark_id: <id>
test_benchmark_id: <id or null>
training_order: [<case ids>]
runs: 1
runtime: { provider: <provider>, model_id: <model_id>, thinking_level: <level> }
roles_model: { provider: <your Provider>, model_id: <your Model ID> }
h1: { version: <n>, sha256: { <every file of STATE but .vault.toml>: <hash> } }
dimensions:
artifact: playbook of itemized rules
source: the TarRepo: Prism-Shadow/penguin-harness
Make a reply easier to read and act on with rich blocks inside ordinary Markdown — a choice…
Run a PenguinHarness organization as its CEO — turn the mission into a ticket tree, hire HR…
The protocol every employee of a PenguinHarness organization follows — read the handbook…
Run finance for a PenguinHarness organization — set and adjust monthly budgets along the…
Run HR for a PenguinHarness organization — guarantee every employee has an enabled calendar…
Run a PenguinHarness organization that mirrors a real company — one digital twin per real…