os-lab-setup

os-lab-setup is a skill for Claude Code from richfrem/agent-plugins-skills. It costs 161 tokens per session (680 once invoked), scanned A, original, MIT.

A tool that prepares an isolated repository for evaluating an agent skill. It initializes Git, copies the plugin as independent files, creates evaluation instructions, and records a baseline commit.

In plain words
What is it for?
Use it to bootstrap an evaluation lab, clean old agent configuration, generate instructions for a target skill, and create the initial repository state.
Why use it?
It gives experiments a clean starting point and avoids changing the original plugin while testing improvements. Git is a version-control system that records file changes and commits.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the agent-agentic-os plugin — 14 skills, 2 agents, 3 hooks shipped together

Good fit Use it to bootstrap an evaluation lab, clean old agent configuration, generate instructions for a target skill, and create the initial repository state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/richfrem/agent-plugins-skills/os-lab-setup
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 richfrem/agent-plugins-skills --skill os-lab-setup
Clone the repo
git clone --depth 1 https://github.com/richfrem/agent-plugins-skills

Made for: Claude Code.

Or install agent-agentic-os, the plugin that ships this one along with the rest of its 14 skills, 2 agents, 3 hooks.

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 os-lab-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/os-lab-setup/github.svg)](https://agentmods.dev/skills/richfrem/agent-plugins-skills/os-lab-setup)
Your own site
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/os-lab-setup"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/os-lab-setup/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 os-lab-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/os-lab-setup"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/os-lab-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 680 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.00161 $0.00680
Opus 5.5 $0.00064 $0.00272
Sonnet 5.5 $0.00032 $0.00136
Haiku 4.5 $0.00016 $0.00068

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

Security

Grade A, and why

os-lab-setup 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate_eval_instructions.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/agent-agentic-os/skills/os-lab-setup/SKILL.md · 64 lines

How it starts

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

Lab Setup (os-lab-setup)

Bootstrap lab environments for skill improvement runs, copying plugin files as real files (no symlinks) and configuring eval-instructions.md.

Contents

Critical Constraints

  1. Resolve Symlinks on Copy: Always use cp -RL so the lab repo contains independent, standalone files.
  2. Clean Slate: Remove .agent .agents .gemini .claude directories in the lab repo before installing.
  3. Workspace Permissions: Confirm directory permissions before creating or mutating lab repositories.

Quick start

Generate evaluation instructions for a target skill in a lab repo:

python3 scripts/generate_eval_instructions.py --skill <skill-name> --lab-repo <path>

Workflow

  1. Intake: Gather lab repo path, target plugin path, skill name, and GitHub repository URL.
  2. Bootstrap Lab Repo: Initialize git repository, clean slate, and copy plugin files via cp -RL.
  3. Generate Instructions: Render eval-instructions.md from assets/templates/eval-instructions.template.md.
  4. Seed Commit: Commit baseline state in lab repo and push to origin.
  5. Launch Options: Provide the user with manual instructions or an autonomous CLI launcher command (for agy-based launches, see agy-cli-agent). Hand the run itself to os-lab-loop.

Verification

Confirm lab repo contains materialized files and valid eval-instructions.md:

test -f "<lab-repo-path>/eval-instructions.md" && echo "Lab setup valid"

References

Read the full file on GitHub · 64 lines

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. yesterday First seen · 64 lines · 161 tokens per session scan A 2ecd14884217

Subscribe to this mod's changes

os-lab-setup is a skill published in the GitHub repository richfrem/agent-plugins-skills (7 stars, last pushed 2d ago), licensed MIT. It adds 161 tokens to every session and 680 once invoked, about $0.0006 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-16.

Related

Other skills, from other repositories

strict-tdd

Strict RED->GREEN->REFACTOR test-driven development with enforcement. Never write production code before a failing test. Atomic commits per TDD cycle.

a5c-ai/babysitter · 34 tokens

issue-to-pr

Implement one bounded repository issue with normal host tools, prove the tested change through one scafld finalize wall, and optionally publish the exact pull request through scoped provider authority with readback.

runxhq/runx · 41 tokens

cmux-testing

Choose scoped cmux verification, add behavioral tests, and validate Swift test targets and wiring. Use when adding tests or deciding what local/CI evidence a change needs.

manaflow-ai/cmux · 37 tokens

development-scheduler

A workflow for coordinating multi-role coding work through Herdr, a task scheduler, and repo-harness sessions. It assigns implementation, review, and handoff tasks while checking permissions and evidence.

Ancienttwo/repo-harness · 52 tokens

workflow

Run the complete 5-step development workflow: focus problem → prevent over-development → test-first (TDD) → document → smart commit. Use when starting a new feature, or when the user runs /workflow or asks for the full development flow.

claude-world/director-mode-lite · 52 tokens

spinout

Use when extracting a project into its own repo — a venture spinout (e.g. a product leaving its incubator repo) or a sanitized content-snapshot fork. Guided 5-step runbook: target sphere + path, confidentiality/sanitize check, copy + fresh git init, SNAPSHOT-FREEZE marker in the source repo, remotes + registration.…

Kanevry/session-orchestrator · 96 tokens