anarlog: Skill for Claude Code

.agents/skills/fix-prs/SKILL.md

fix-prs is a skill for Claude Code, Codex from fastrepl/anarlog. It costs 72 tokens per session (2,223 once invoked), scanned A, original, MIT.

A repository-specific workflow for resolving conflicts and addressing code-review findings or continuous-integration failures in an Anarlog GitButler workspace. Continuous integration, or CI, automatically builds and checks changes on a shared service.

In plain words
What is it for?
Use it to repair active or draft pull requests, resolve conflicts, apply fixes for review comments or CI failures, validate the repairs, and publish the resulting branch changes.
Why use it?
It brings review fixes, failed checks, and branch conflicts into one controlled repair process while keeping each change on its owning branch. It also describes when to rerun checks and resolve addressed review threads.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is fastrepl/anarlog's own configuration. It tells Claude Code and Codex how to work on anarlog itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything anarlog configures →

About the project

anarlog is a local-first AI meeting notetaker that captures device audio, transcribes meetings, and stores notes, transcripts, and recordings on the user's computer. It is for people who want meeting notes without adding a bot to calls or sending conversation data to an external cloud. The catalogue entries provide agent integrations and workflows for the application.

fastrepl/anarlog · 9,621 stars · on GitHub · anarlog.so

Reuse

Borrowing it

Nothing to install: this file belongs to fastrepl/anarlog. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/fastrepl/anarlog/main/.agents/skills/fix-prs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/fastrepl/anarlog

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 fix-prs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fastrepl/anarlog/fix-prs"><img src="https://agentmods.dev/badge/skills/fastrepl/anarlog/fix-prs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,223 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.00072 $0.02223
Opus 5.5 $0.00029 $0.00889
Sonnet 5.5 $0.00014 $0.00445
Haiku 4.5 $0.00007 $0.00222

Measured 27d ago against content hash 3c87228dd49f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fix-prs 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 27d 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.

.agents/skills/fix-prs/SKILL.md · 170 lines

How it starts

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

Fix workspace conflicts, PR reviews and CI

Applicability

Use only in the Anarlog repository or its checkouts/worktrees when the active checkout branch is exactly gitbutler/workspace. Before running this workflow, check with git symbolic-ref --quiet --short HEAD (a read-only branch check). On any other branch or detached HEAD, skip this skill and use the normal Git workflow. Do not initialize GitButler or switch branches to activate the skill. Use this checkout's skills, not a global copy or another checkout's skills.

Use this skill when asked to repair workspace conflicts, PR review findings, or CI failures in the Anarlog GitButler repository.

Read the repository-local but skill and the active repository's AGENTS.md, workflow, and testing skills when present. Use but for version control and the repository's preferred authenticated forge tools for PR operations. Derive the repository and configured target from the current workspace.

Invoking this workflow authorizes workspace updates, conflict resolutions and their necessary history rewrites, in-scope fixes, local commits, protected pushes, necessary CI reruns, and evidence-backed review replies/thread resolutions. Creating the skill alone does not execute it. Do not merge, enable auto-merge, create missing PRs, change draft state, or bypass branch protection. Other pushed/shared history rewrites need existing authorization; a new focused commit on the owning branch can avoid that dependency.

Resolve workspace conflicts

  1. Inspect applied stacks, dirty files and conflicted commits with but status --json (use -fv when file details are needed). Conflict repair covers all applied workspace branches by default, including branches without PRs; honor a narrower user scope. Record all local branch heads before any updates or repairs so rewritten descendants can be identified afterward. Coordinate with active agents before shared checkout mutations and preserve their unrelated edits.
  2. Read the coordinator's pending merge operations, affected branch names and reviewed heads before updating. While any pending merge stack remains applied, skip the workspace-wide but pull; but pull --check does not make that pull selective. Exclude pending stacks from repairs, and run independent repairs only when every GitButler mutation and ancestor push scope can demonstrably leave those stacks untouched. Otherwise defer repairs until their merge operations reach a confirmed terminal state. Once this guard is satisfied, refresh from the configured target with but pull. When other agents' branches are applied or scope is narrower than the workspace, first run but pull --check to identify affected branches. The default workspace-wide invocation authorizes routine in-scope updates and conflict repairs, subject to AGENTS.md's approval boundaries. Ask before resolving semantic conflicts, dependency updates, generated-file conflicts, or conflicts involving another person's work unless existing user authorization explicitly covers that particular resolution. Also ask before modifying work outside the authorized scope. Keep the target and stack dependencies unchanged. If dirty changes block an update, use the but skill's parking/restoration procedure only for in-scope work.
  3. Resolve branches from base toward tip and each branch's commits oldest-first. Use the installed but skill's conflict tools, preferably but resolve conflicts <full-branch-name> and but resolve apply <path>:<conflict-number> --commit <full-branch-name> with merged content on stdin or --file. Read base, ours and theirs and preserve both intended behaviors. Resolution rewrites commit IDs; use branch names and fresh output. Do not amend conflicted commits or use raw Git writes.
  4. For uncommitted file conflicts, edit the intended content and then mark the paths resolved with but resolve <path>.... Keep the resulting changes on their owning branch when ownership is established; preserve ambiguous dirty work rather than commit it into a guessed branch. Regenerate generated files through their owning tasks when required instead of hand-editing artifacts.
  5. Continue until scoped conflicts are cleared. Make routine resolutions directly; if the two sides require an unresolved product or architectural decision, report the exact alternatives and continue independent repairs. Run relevant checks on the resolved code and refresh the branch/PR map and heads before diagnosing reviews or CI. Track remaining conflicts as blockers even when every remote PR check is green.

Read the full file on GitHub · 170 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. 27d ago First seen · 170 lines · 72 tokens per session scan A 3c87228dd49f

Subscribe to this mod's changes

fix-prs is a skill published in the GitHub repository fastrepl/anarlog (9,621 stars, last pushed yesterday), licensed MIT. It adds 72 tokens to every session and 2,223 once invoked, about $0.0003 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-02.

Related

Other skills, from other repositories

deployment-rules

Release/deployment standards — semantic-release, commitlint, version sync, the updater. Load for /prepare-release and changes to release.config.mjs / commitlint / workflows / version files. Owned by project-steward.

saeedkolivand/ai-job-hunter-app · 49 tokens

performance-checklist

Performance review checklist — hot paths, async-runtime discipline, streaming, query-client tuning, layout pre-measurement, token/cost. Load when reviewing perf-sensitive changes.

saeedkolivand/ai-job-hunter-app · 38 tokens

coding-standards

General repo rules enforced by ESLint/TypeScript/CI — PRs-only, never bypass lint, import ordering, type imports, path privacy, commit format. Load for any code change.

saeedkolivand/ai-job-hunter-app · 44 tokens

inspector-workbench

Runs Inspector UI work on the standalone Threads state lab so the agent can see the overlay. Use when a CopilotKit employee asks an agent to fix, polish, add, or debug Inspector UI, chrome, panes, overlay actions, launcher, Home, Threads, Playground, Memory, or any visual behavior in @copilotkit/web-inspector. Don't…

CopilotKit/CopilotKit · 112 tokens

hotpath_bump

Bump the hotpath version number across the workspace and related files. Updates the versions of all six published crates (drain included) in Cargo.toml files (exact patch version), version references in the backend middleware, hotpathinit skill, and README (major.minor only), and the relay workflow release tag pins…

pawurb/hotpath-rs · 99 tokens

dev-fix

Unified developer workflow for fixing bugs. Analyzes issue-tracker context, cross-checks docs/code, proposes a solution, implements the fix, verifies locally, and delivers a PR/MR.

HoangNguyen0403/agent-skills-standard · 43 tokens