ace-rsi-toolkit

ace-rsi-toolkit is a skill for Claude Code, Codex from Prism-Shadow/penguin-harness. It costs 69 tokens per session (4,016 once invoked), scanned A, original, Apache-2.0.

A toolkit that applies ACE, a research method for improving an agent's written rules from past task traces. A reflector diagnoses each run, a curator adds missing lessons to a playbook, and the result is measured on a benchmark.

In plain words
What is it for?
Use it to train an agent from sequential examples, maintain its playbook of rules, and evaluate that playbook on a fixed benchmark.
Why use it?
It turns observed failures and lessons into an explicit set of rules the agent can read before later tasks. Measuring the final playbook shows whether the changes helped on the chosen test set.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to train an agent from sequential examples, maintain its playbook of rules, and evaluate that playbook on a fixed benchmark.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prism-shadow/penguin-harness/ace-rsi-toolkit
About the project

PenguinHarness is a local-first platform in which multiple AI agents create, evaluate, optimize, and deploy agent applications. It is for people building AI software who want agents to generate applications and improve their own behavior through skills.

Prism-Shadow/penguin-harness · 2,527 stars · on GitHub · penguin.ooo

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Prism-Shadow/penguin-harness --skill ace-rsi-toolkit
Clone the repo
git clone --depth 1 https://github.com/Prism-Shadow/penguin-harness

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ace-rsi-toolkit

README.md
[![agentmods](https://agentmods.dev/badge/skills/prism-shadow/penguin-harness/ace-rsi-toolkit/github.svg)](https://agentmods.dev/skills/prism-shadow/penguin-harness/ace-rsi-toolkit)
Your own site
<a href="https://agentmods.dev/skills/prism-shadow/penguin-harness/ace-rsi-toolkit"><img src="https://agentmods.dev/badge/skills/prism-shadow/penguin-harness/ace-rsi-toolkit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ace-rsi-toolkit

Your own site · 80×15
<a href="https://agentmods.dev/skills/prism-shadow/penguin-harness/ace-rsi-toolkit"><img src="https://agentmods.dev/badge/skills/prism-shadow/penguin-harness/ace-rsi-toolkit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,016 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.04016
Opus 5.5 $0.00028 $0.01606
Sonnet 5.5 $0.00014 $0.00803
Haiku 4.5 $0.00007 $0.00402

Measured 2d ago against content hash 781cad29607c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ace-rsi-toolkit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/ace-rsi-toolkit/skills/ace-rsi-toolkit/SKILL.md · 171 lines

How it starts

The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ACE

Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models, Zhang et al., 2025 (arXiv:2510.04618v1, §3–4 and Appendix B). GitHub: 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.

Before you start

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.

  • test_agent_id — the Target (the Evaluation Center's Test Agent): an existing agent of this Project, or create: <id> when the user wants a fresh one, created with no plugins by penguin agent create --agent-id <id> --project-id "$PROJECT_ID" --json (an id matches ^[a-z][a-z0-9_-]{1,63}$). If that id exists already, stop and ask; never reinitialize an agent. The Target is never the agent you run as: training rewrites its State while you work.
  • benchmark_id — a Benchmark of this Project whose benchmark_config.toml status is published (not a literal draft or failed). Its cases (every directory of it holding a statement/README.md) are both the training samples and the measured case set. Without one, list the published Benchmarks and ask; this Skill never builds one.
  • test_benchmark_id (optional) — a second published Benchmark held out from training: H1 (the initialized State) and the final playbook are measured on it too, and nothing of it reaches the Reflector or the Curator.
  • runs — runs per case in every measurement; default 1.
  • The runtime — the provider / model_id pair the user names, else your Environment's, fixed for the whole experiment (references/evaluation.md, controller step 2). The Reflector and the Curator run on your own model; record it.
  • The settings below. Use the smoke profile unless the user asks for other values. A target score or a round limit is not an ACE setting: say so and leave it out.

Read the full file on GitHub · 171 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 171 lines · 69 tokens per session scan A 781cad29607c

Subscribe to this mod's changes

ace-rsi-toolkit is a skill published in the GitHub repository Prism-Shadow/penguin-harness (2,527 stars, last pushed today), licensed Apache-2.0. It adds 69 tokens to every session and 4,016 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-13.

Related

Other skills, from other repositories

agentscope-java

Expert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or…

agentscope-ai/agentscope-java · 91 tokens

git-checkpoint

Use git as a safety net - create a checkpoint commit before risky or large changes and roll back cleanly if a change makes things worse. Use before multi-file refactors.

agentscope-ai/agentscope-java · 39 tokens

pptagent

Create and revise editable PowerPoint presentations from a brief using HTML slide sources, rendering, and visual review. Use when the requested deliverable is a PPTX deck. The host authors the slides; text-only hosts can use an external visual reviewer.

icip-cas/PPTAgent · 52 tokens

subscription-setup

A setup workflow for creating recurring medical-learning subscriptions after a doctor’s profile has been registered.

TencentCloud/Octop · 80 tokens

exam-material-recommendation

A study-material recommendation tool for doctors preparing for professional exams or job-related training. It uses the person’s target, timeline, available study time, and specialty, while treating the official exam syllabus as the main reference.

TencentCloud/Octop · 75 tokens

agentfield-use

Whenever you have a discrete task to perform — one the user delegated, or one that arose inside your own work — check FIRST whether an installed AgentField agent covers it, and offload to it by default when one does. Coverage, not task size, is the test: even a small job goes to a covering agent. The check is cheap …

Agent-Field/agentfield · 259 tokens