setup-repository

setup-repository is a skill for Claude Code from airas-org/airas. It costs 40 tokens per session (689 once invoked), scanned A, original, MIT.

A setup workflow that creates an AIRAS experiment repository and prepares it for controlled research work. The repository stores the experiment code, results, and research records.

In plain words
What is it for?
Use it to create and clone a research repository, configure automated checks, and confirm whether its required protections are active.
Why use it?
It removes the manual work of creating the repository and configuring its secrets and protected main branch.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the airas plugin — 9 skills, 3 hooks, 1 MCP server shipped together

Good fit Use it to create and clone a research repository, configure automated checks, and confirm whether its required protections are active.

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

Made for: Claude Code.

Or install airas, the plugin that ships this one along with the rest of its 9 skills, 3 hooks, 1 MCP server.

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 setup-repository

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/airas-org/airas/setup-repository"><img src="https://agentmods.dev/badge/skills/airas-org/airas/setup-repository.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 689 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 11
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Rogue Agent · line 3
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00040 $0.00689
Opus 5 $0.00020 $0.00345
Sonnet 5 $0.00008 $0.00138
Haiku 4.5 $0.00004 $0.00069

Measured 5d ago against content hash 166e20be5ada, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

setup-repository 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.

plugins/airas/skills/setup-repository/SKILL.md · 60 lines

What it actually says

Set up the experiment repository

  1. prepare_repository — pass the visibility settled at the start of the flow (is_private defaults to true); returns clone_url; clone it locally with git. Requires GH_PERSONAL_ACCESS_TOKEN (~/.airas/credentials.json, editable via open_dashboard) with admin rights on the repository.

    It also provisions the Actions secrets and protects main in the same call. Both matter more than they look. Without SEYVAL_API_KEY the provenance cross-check degrades to a skip rather than a failure, so an unprovisioned repository looks like it is passing. Without branch protection, a red CI run can simply be pushed past, and every guarantee in the record becomes advisory.

  2. Read warnings, secrets_set and branch_protected in the result. Neither failure aborts the creation, so a repository can come back usable and unenforced. If branch_protected is false, say so to the user rather than continuing as though the record were protected; set_github_actions_secrets and protect_branch fix each independently.

  3. Work through a staging ref, not by pushing to main. A commit reaches the protected branch only once the record gate is green on that exact sha, and the check cannot run on a commit nobody has pushed. So push local main to a scratch ref, wait for the gate, then fast-forward:

    git push origin main:verify    # the gate runs on this sha
    # green
    git push origin main:main      # the same sha, fast-forwarded
    

    No local branch is needed — required checks are evaluated per commit, not per branch. Never squash or rebase to get a commit onto main: both rewrite commits, and verification asks whether each run's recorded commit is an ancestor of HEAD.

  4. Look over the clone: the .github/ workflows, Makefile and empty src/ stubs are what the experiment code will be held to. The contract itself — run-id naming, CLI shape, sanity/pilot/full semantics, the files you may touch — is stated in write-experiment-code, not in the repository.

  5. The repository is the home of all research state. Artifacts produced from here on (hypothesis, design, declarations, results) are committed here as they are made — .research/research_history.json ships empty and the repository's own workflows read the research context from it, so commit context there as soon as it exists (upload_research_history commits it against the pushed branch). If a hypothesis and design already exist, commit them now.

Output: a pushed clone, ready to receive research state, from which a fresh session can continue without this conversation.

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. 5d ago First seen · 60 lines · 40 tokens per session scan A 166e20be5ada

Subscribe to this mod's changes

setup-repository is a skill published in the GitHub repository airas-org/airas (32 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 689 once invoked, about $0.0002 per session on Opus 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-09-04.

Related

Other skills, from other repositories

research-proof

Turn vague research ideas, math-heavy claims, AI-lab style agent loops, benchmark claims, causal claims, prototype-readiness claims, design research, prompt-injection-sensitive evidence reviews, and medical-research style questions into falsifiable proof programs with fixed Claim/Verifier/Current…

tonyblu331/research-proof · 101 tokens

proof-checker

A mathematical proof review and repair workflow for LaTeX documents. It checks whether a proof has valid reasoning, addresses identified gaps, reviews the fixes, and produces an audit report.

wanshuiyin/Auto-claude-code-research-in-sleep · 87 tokens

auto-paper-improvement-loop

An automated editing cycle for a compiled research paper: an external language model reviews it, fixes are applied, and the paper is compiled again.

wanshuiyin/Auto-claude-code-research-in-sleep · 67 tokens

paper-write

A workflow for writing a research paper section by section in LaTeX, a text format used to prepare structured technical documents. It starts from a paper outline and supports several academic venues and citation sources.

wanshuiyin/Auto-claude-code-research-in-sleep · 50 tokens

research-lit

Search and analyze research papers, find related work, summarize key ideas. Use when user says "find papers", "related work", "literature review", "what does this paper say", or needs to understand academic papers.

wanshuiyin/Auto-claude-code-research-in-sleep · 48 tokens

paper-illustration

A workflow for generating academic illustrations, such as architecture diagrams and method visuals, with image generation and repeated review. Claude plans and checks the figure during the process.

wanshuiyin/Auto-claude-code-research-in-sleep · 67 tokens