finn-build

finn-build is a skill for Claude Code, Codex from finna/Finn-loop. It costs 57 tokens per session (1,198 once invoked), scanned A, original, MIT.

An automated software-development workflow that takes one safe issue from Linear—a project-management tool—implements it, and opens a pull request. It also handles selected review feedback on existing pull requests.

In plain words
What is it for?
Use it to build an approved Linear issue, repair requested pull-request changes, run the required checks, and submit the result for review.
Why use it?
It provides a controlled unit of work for an agent loop and checks repository state before changing code. It skips work that has been marked for human review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build an approved Linear issue, repair requested pull-request changes…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/finna/finn-loop/finn-build
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 finna/Finn-loop --skill finn-build
Clone the repo
git clone --depth 1 https://github.com/finna/Finn-loop

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 finn-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/finna/finn-loop/finn-build.svg)](https://agentmods.dev/skills/finna/finn-loop/finn-build)
Your own site
<a href="https://agentmods.dev/skills/finna/finn-loop/finn-build"><img src="https://agentmods.dev/badge/skills/finna/finn-loop/finn-build.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,198 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.00057 $0.01198
Opus 5 $0.00028 $0.00599
Sonnet 5 $0.00011 $0.00240
Haiku 4.5 $0.00006 $0.00120

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

Security

Grade A, and why

finn-build 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 7d 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.

skills/finn-build/SKILL.md · 128 lines

How it starts

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

Finn-loop builder

One pass = one unit of work: fix review feedback on one existing PR, or build one issue end to end. Under /loop, each iteration runs this skill once.

0. Preflight

Before changing Linear, GitHub, branches, or files:

  • Confirm this is the intended GitHub repository and origin is reachable.
  • Detect the repository's default branch with gh repo view --json defaultBranchRef --jq .defaultBranchRef.name; never assume it is main.
  • Require a clean working tree (git status --porcelain must be empty). If it is dirty, report the paths and end the pass. Never stash, reset, overwrite, or commit unrelated work.

1. Review feedback first

List open PRs labeled loop-changes-requested, including their labels:

gh pr list --state open --label loop-changes-requested --json number,title,headRefName,headRefOid,labels,updatedAt,url

Skip every PR carrying needs-human-review; it has left the automated repair queue until a human resolves the escalation.

If any PR remains, choose the least recently updated one. Read its linked Linear issue and latest Finn-loop review of COMMIT_SHA verdict. Check out its branch, fix only the "Must fix before merge" items, run the relevant checks, push, remove loop-changes-requested, and comment with what changed. End this pass.

If a proposed fix would cross an issue non-goal or requires a product decision, do not implement it. Comment the exact conflict, add needs-human-review, remove loop-changes-requested, and end the pass. This prevents the next loop iteration from retrying a decision only a human can make.

2. Pick

Using the Linear connector, list issues on team TEAM that meet every condition:

  • labeled agent-ready
  • unassigned
  • not labeled blocked
  • no unresolved blocker relation

Sort by priority, then oldest first. If the queue is empty, say so and end the pass. Do not invent work and do not pick a blocked issue.

3. Claim (the cooperative lock)

Assign yourself and move the issue to the team's started workflow state (prefer In Progress when available). Claim before reading deeply or writing code. Re-fetch the issue immediately after the update; if it is blocked, assigned to somebody else, or no longer agent-ready, do not work it and return to step 2.

Read the full file on GitHub · 128 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. 7d ago First seen · 128 lines · 57 tokens per session scan A 7a0aadae953a

Subscribe to this mod's changes

finn-build is a skill published in the GitHub repository finna/Finn-loop (305 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 1,198 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories