Borrowing it
Nothing to install: this file belongs to flisk-sh/flisk. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/flisk-sh/flisk/main/.claude/skills/layer-autoresearch/SKILL.mdgit clone --depth 1 https://github.com/flisk-sh/fliskWrote 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.
[](https://agentmods.dev/skills/flisk-sh/flisk/layer-autoresearch)<a href="https://agentmods.dev/skills/flisk-sh/flisk/layer-autoresearch"><img src="https://agentmods.dev/badge/skills/flisk-sh/flisk/layer-autoresearch/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.
<a href="https://agentmods.dev/skills/flisk-sh/flisk/layer-autoresearch"><img src="https://agentmods.dev/badge/skills/flisk-sh/flisk/layer-autoresearch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00092 | $0.01041 |
| Opus 5.5 | $0.00037 | $0.00416 |
| Sonnet 5.5 | $0.00018 | $0.00208 |
| Haiku 4.5 | $0.00009 | $0.00104 |
Grade A, and why
layer-autoresearch 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Layer autoresearch
Adapted from karpathy/autoresearch program.md. You are an autonomous researcher making the Flisk runtime layers cheaper without removing features.
Setup (with the user, once)
- Agree a run tag (e.g.
sep25). Creategit checkout -b autoresearch/<tag>frommain. The branch must be new. - Ask the user whether any tool auto-commits or pushes working-tree edits in this checkout. If one does, ask them to pause it for the run (or run from a separate
git worktree), because experiment commits and resets must not reachorigin/main. - Read the in-scope files in full:
- Editable:
runtime/engine/topologies/platform/docker/layers/*.star,runtime/engine/topologies/platform/docker/layers/prisma/*.star,runtime/engine/topologies/platform/docker/build/golden_image_dockerfile.star,runtime/engine/topologies/platform/docker/config/healthcheck.star. - Read-only ground truth:
scripts/autoresearch/layer-eval.sh,scripts/benchmark/container-scale.ts,tests/tilt-engine/test_runtime_container_footprint.py, and any spec for the runtime container footprint underopenspec/.
- Editable:
- The eval needs a Flisk project with at least
LAYER_EVAL_SAMPLE(default 20) services. It usesFLISK_BENCH_PROJECT, or../flisk-erp-systemnext to the checkout when that is unset. If neither exists, ask the user to clone the ERP scale-test project (about 100 services) once withflisk project erp --path ../flisk-erp-system(the eval generates and builds what it needs; do not start all of it withflisk up), or to pointFLISK_BENCH_PROJECTat another large project. - Create an untracked
autoresearch-results.tsvwith the headercommit mem_mib image_mib status description. - Confirm with the user, then start.
Experiment
Run scripts/autoresearch/layer-eval.sh > run.log 2>&1 (about 5-10 minutes). Read the results with grep -A20 '^---' run.log.
- Primary metric:
mem_per_service_mib, lower is better. This is idle memory per real service in the bench project, and it is what limits 100 services on 16 GB. - Tie-breaker: if memory is within 0.5 MiB of the best, a lower
unique_per_service_miborservice_image_mibwins, then simpler code. - Hard constraints.
status: okrequires all 20 services healthy, zero crashes, and passing feature tests. Anything else is a discard, or a crash if it didn't run. - Never edit the eval harness, benchmark, tests or spec. Never remove a user-facing feature: Prisma, Infisical entrypoint, hugo-as-feature, healthchecks, signal handling. Don't add dependencies.
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.
- 5d ago First seen · 54 lines · 92 tokens per session scan A 75f660a10f13
layer-autoresearch is a skill published in the GitHub repository flisk-sh/flisk (54 stars, last pushed yesterday), licensed MIT. It adds 92 tokens to every session and 1,041 once invoked, about $0.0004 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-11-15.
layer-autoresearch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| layer-autoresearchflisk-sh/flisk | Skill | 54 | yesterday | MIT | A | 92 | Claude Code |
| harborav/harbor | Skill | 3.3k | 9d ago | Apache-2.0 | A | 114 | Claude Code |
| docker-local-buildkurtosis-tech/kurtosis | Skill | 559 | today | Apache-2.0 | A | 56 | Claude Code, Codex |
| k8s-dev-deploykurtosis-tech/kurtosis | Skill | 559 | today | Apache-2.0 | A | 78 | Claude Code, Codex |
| docker-debugkurtosis-tech/kurtosis | Skill | 559 | today | Apache-2.0 | A | 45 | Claude Code, Codex |
| k8s-clean-clusterkurtosis-tech/kurtosis | Skill | 559 | today | Apache-2.0 | A | 59 | Claude Code, Codex |
| k8s-debug-podskurtosis-tech/kurtosis | Skill | 559 | today | Apache-2.0 | A | 62 | Claude Code, Codex |