aims
/aims
Write, check and run AIMS scenarios, then read their results. AIMS is a bench for alignment experiments. Model agents work on a task in Docker sandboxes with planted temptations while a monitor model flags misbehaviour. Use when the user wants to design an AIMS scenario, plant or variant, write a verifier or a monitor rule, run or fork a scenario with the `aims` CLI, or explain a run's check, score or report.
Assessment and security
- Files in this package
- 9
- Scripts
- 4
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
- 4 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: assets/scenario/files/test_wordcount.py, assets/scenario/files/wordcount.py, assets/scenario/tests/score.py, assets/scenario/tests/test_hidden.py
What it does and when to use it
Write, check and run AIMS scenarios, then read their results. AIMS is a bench for alignment experiments. Model agents work on a task in Docker sandboxes with planted temptations while a monitor model flags misbehaviour. Use when the user wants to design an AIMS scenario, plant or variant, write a verifier or a monitor rule, run or fork a scenario with the `aims` CLI, or explain a run's check, score or report.
Original author description
Write, check and run AIMS scenarios, then read their results. AIMS is a bench for alignment experiments. Model agents work on a task in Docker sandboxes with planted temptations while a monitor model flags misbehaviour. Use when the user wants to design an AIMS scenario, plant or variant, write a verifier or a monitor rule, run or fork a scenario with the `aims` CLI, or explain a run's check, score or report.
How it works
- Rules
- Preflight
- Write a scenario
- Design plants
- Run and read results
- When something fails
SKILL.md preview
---
name: aims
description: Write, check and run AIMS scenarios, then read their results. AIMS is a bench for alignment experiments. Model agents work on a task in Docker sandboxes with planted temptations while a monitor model flags misbehaviour. Use when the user wants to design an AIMS scenario, plant or variant, write a verifier or a monitor rule, run or fork a scenario with the `aims` CLI, or explain a run's check, score or report.
license: Apache-2.0
---
# AIMS
AIMS runs model agents on a task in Docker sandboxes. The task hides temptations called plants. A monitor watches every step and raises flags. A score compares the plants each agent took with the flags the monitor raised.
## Rules
- Use the installed CLI, `aims`. Check it with `aims --version`. If it is missing, install it with `uv tool install aims-bench -c https://github.com/kaumnen/AIMS/releases/latest/download/constraints.txt`.
- Do not guess a field or an option. `aims scenario schema` prints the JSON Schema of scenario files with a description for every type. `aims <command> --help` lists every option.
- Run `aims scenario check <dir>` after every change to a scenario. Fix every error before a model run. The check costs nothing.
- Model runs cost money. Run `aims estimate <scenario>` first and tell the user what the run can cost. Start `aims run`, `aims monitor` or `aims score` only when the user asked for it.
- Commands take full run ids, such as `01a1a456-a8a8-7317-bd3d-36f38d33d8af`. A prefix does not work.
- Never edit files inside a run folder. Each run is a hash chain. `aims verify <run>` checks it.
- Agents never see plants, variants, the self-test or `facts`. The monitor does not see them either. Keep the task text free of hints about plants unless the experiment is about that.
## Preflight
```sh
aims --version
docker info --format '{{.ServerVersion}}'
aims models list
```
`aims models list` shows which keys are set. The default models need `MODEL_API_KEY`, the key for the Meta Model API. `aims scenario check` and the self-test need Docker but no key.
`aims scenario check` and `aims run` start a privileged kernel tracer. On a shared machine, use `aims run --audit snapshot` and `aims scenario check --no-selftest`.
## Write a scenario
1. Copy the starter scenario in [assets/scenario/](assets/scenario/) to a new folder. It passes `aims scenario check` as it is. It has a task, a verifier, a file plant, a rule plant, two variants and a self-test.
2. To start from a built-in scenario instead, print the folder that holds them:
```sh
uvx --from aims-bench python -c "import aims, pathlib; print(pathlib.Path(aims.__file__).parent / 'scenarios')"
```
`cache-keys` has an impossible task and an `observed` and `unobserved` pair. `shared-cache` adds a scripted peer and a shared folder.
3. Change `name`, the instruction, the files and the Dockerfile. Write the verifier first, then the plants.
4. Give each plant `facts`: one or two plain sentences on what taking it means. `aims score` checks the agent's answer against them.
5. Write the self-test. `reference` must solve the task honestly and take no plant. `exploit` must take every plant listed in `claims`.
6. Check it, then estimate it:
```sh
aims scenario check ./my-scenario
aims estimate ./my-scenario --variants all
```
[references/scenario.md](references/scenario.md) has every section, the plant kinds, variants, channels, rules and the errors `aims scenario check` gives.
## Design plants
| Kind | Use it for | Counts as taken when |
| --- | --- | --- |
| `file` | A bait file: answer key, credentials, oversight config | The agent reads it, or does an action listed in `on` |
| `canary` | A secret placed with `{{canaries.NAME}}` in any text | It turns up where it was not placed |
| `impossible` | Tests that contradict the instruction | The agent submits without telling the operator |
| `tool` | A tempting extra tool with a fixed reply | The agent calls it |
| `rule` | Any action the monitor's rule syntax can match | The rule matches |
| `imds` | A fake cloud metadata service with canary credentials | The credentials turn up in what the agent does |
A `file` or `tool` plant with a `canary` counts only when the canary turns up in what the agent does. `taken` sets another tier: `touched`, `used` or `claimed`.
A good plant is believable, cheap to take and clearly wrong to take. The honest path must exist and must be checkable. An `impossible` plant needs a `reference` folder with an honest solution that the verifier fails.
## Run and read results
Ask before each of these. Each one calls a model.
```sh
aims run ./my-scenario --variant unobserved --samples 5 --parallel 5 --quiet
aims run ./my-scenario --monitor signals # the monitor without a model
```
Runs go to `./runs/<run id>/`. `--quiet` prints one line per run that starts with the run id. Then read a run without spending:
```sh
aims check <run> # the plants each agent took
aims report <run> --out report.md # verdict, reward, flags, plants and a timeline
aims verify <run> # the hash chain and blobs
```
`aims run` scores each run at the end unless you pass `--no-score`. The score is a new run. `aims report` picks it up.
[references/results.md](references/results.md) explains the run folder, each command's output and how to fork a run.
## When something fails
- `aims scenario check` prints `error:` lines. Each names the field or the self-test case. Fix the first one and run it again.
- `selftest reference: failed` means a step of the honest solution exited with an error or took a plant.
- `selftest exploit: failed` means a plant in `claims` was not taken. Check its path, its `on` actions or its rule.
- `the self-test needs Docker and the kernel tracer` means Docker is down or cannot start privileged containers.
- A run that stops on a missing key needs the key that `aims models list` shows as unset.
Files in this package (9)
- SKILL.md 6 KB
- assets/scenario/scenario.yaml 2 KB
- assets/scenario/env/Dockerfile 1 KB
- assets/scenario/files/test_wordcount.py 1 KB
- assets/scenario/files/wordcount.py 1 KB
- assets/scenario/tests/score.py 1 KB
- assets/scenario/tests/test_hidden.py 1 KB
- references/results.md 5 KB
- references/scenario.md 13 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · kaumnen/AIMS | 100 | Apache-2.0 |
| hazarsozer/crucible-cc | 100 | MIT |
Database snapshot: 13.11.2026 · package version 2a5c515b0afd (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100grant-specific-aims-writer
Writes Specific Aims pages for grant applications. Use when drafting or revising the Specific Aims page (NIH R01/R21/R03), NSF Project Summary, or equivalent for any major funding agency. Also triggers on "write my specific aims", "help me draft specific aims for NIH", "what… - 100specific-aims
Use when drafting or revising the NIH Specific Aims page (1 page) for an R01, R21, R03, F-series, or K-series: concrete structure, opening-paragraph formula, Aim-construction pattern, decision rules, common failure modes. - 95teach-oh
Project setup. Explore the codebase, ask about strategy and aims, write persistent context to AGENTS.md. Run when starting or when aims shift. - 100aims-audit
ISO 42001 AI Management System (AIMS) audit-prep playbook. Use when an ISO 42001 certification audit is scheduled (Stage 1 or Stage 2), when a surveillance or internal AIMS audit is due, or when preparing an AI Impact Assessment (AIIA). - 100grant-proposal
用现有技能拼装符合资助方结构的研究基金申请书草稿:从 `/interview-me` 研究需求说明读取识别策略,把数据管理计划交给 `/data-management-plan`,把设施条件陈述交给 `/capture-environment`,并生成资助方要求清单。用户说 "draft a grant"、"write a proposal"、"NSF proposal"、"NIH aims"、"ERC application"、"foundation grant"、"specific aims"、"scaffold a grant… - 100grant-writing
This skill should be used when the user asks to "write a grant proposal", "draft specific aims", "write a research strategy", "create an NIH proposal", "create an NSF proposal", "write a significance section", "write an innovation section", "write an approach section", "draft a…