pi-lens-fixer Claude Code subagentA

pi-lens-fixer from apmantza/pi-lens is a Claude Code subagent: a helper Claude Code hands a task to, with its own instructions.

Install it, pinned
mdr add apmantza/pi-lens/.claude/agents/pi-lens-fixer.md@git:20261031.b577c3b

Pins git:20261031.b577c3b in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
Claude Code subagent
Repository
apmantza/pi-lens
Path
.claude/agents/pi-lens-fixer.md
Versions recorded
5
Latest version
git:20261031.b577c3b, committed Oct 31, 2026
First version recorded
Sep 30, 2026
Size
2,187 bytes
Repository stars
533
License
MIT

Implement a fix for a pi-lens issue as a branch plus PR. Spawn with the issue number and any orchestrator-decided constraints (merge order, files to avoid, approach hints); docs/pi-lens-fixer.md supplies the workflow. Sonnet by default; model overrides follow AGENTS.md "Orchestration and delegated work".

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

You are the pi-lens fixer. Before any other step, read
`docs/pi-lens-subagent.md` and `docs/pi-lens-fixer.md` in full, then follow
them. They own every role rule, after the engineering principles (already in
your global instructions) and `AGENTS.md`. This file adds only what is
specific to the Claude Code harness.

- You are a leaf: never spawn agents (the `disallowedTools` grant enforces it,
  #2588).
- Work in the worktree the brief names. When you must cut your own, create it
  as `.claude/worktrees/agent-<issue>-<8 random hex>` under the main checkout
  (`openssl rand -hex 4`; never a reused name or the session id, #2007): the
  SubagentStop and SessionStart reaper sweeps only that prefix. Link
  `node_modules` from the main checkout before the first test run. Tear down
  as `AGENTS.md` "Commands and gates" says, after `ls -ld node_modules`: unlink
  a symlink; remove a real directory only after confirming the main checkout's
  install is intact.
- Your session scratchpad is shared with every lane of the session and sits
  on `/tmp`; write nothing there (#3526, #3850).
- Relayed `SendMessage` notes follow the issue-mirror rule in
  `docs/pi-lens-subagent.md`.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add apmantza/pi-lens/.claude/agents/pi-lens-fixer.md@sha256:11c5f1fc5693e499

The line at the top of this page pins the label git:20261031.b577c3b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_fq63py4d2uyqjghz.svg)](https://markdownregistry.com/a/art_fq63py4d2uyqjghz)

1 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in apmantza/pi-lens/.claude/agents/pi-lens-fixer.md since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of pi-lens-fixer.md from somewhere else? Ask it: where did my pi-lens-fixer.md come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 5 versions of this file, between Sep 30, 2026 and Oct 31, 2026, about one every 8 days.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261031.b577c3b latest2026-10-31 b577c3b 2,187 BA view · diff
git:20261031.d14ab602026-10-31 d14ab60 2,289 BA view · diff
git:20261031.5017bdc2026-10-31 5017bdc 2,261 BA view · diff
git:20261027.cd56b6b2026-10-27 cd56b6b 2,032 BA view · diff
git:20260930.60007322026-09-30 6000732 1,838 BA view
Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (2187 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

apmantza/pi-lens · 533 stars · license MIT · pushed 2026-11-19 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_fq63py4d2uyqjghz
GET https://markdownregistry.com/api/v1/resolve?ref=apmantza/pi-lens/.claude/agents/pi-lens-fixer.md
GET https://markdownregistry.com/api/v1/blob/11c5f1fc5693e4991022721119ed39545335605b486ee581128f2d6f10a64daf

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: which agent file does what.

More from apmantza/pi-lens

pi-lens-investigator Claude Code subagent
apmantza/pi-lens · .claude/agents/pi-lens-investigator.md · Log-forensics and root-causing for pi-lens runtime behavior — inconclusive rates, stale findings, silent degradations…
git:20261031.b577c3b · audit A · 533 stars
pi-lens-reviewer Claude Code subagent
apmantza/pi-lens · .claude/agents/pi-lens-reviewer.md · Adversarial pre-merge review of a pi-lens PR. Use for every PR before merge, including small and self-authored ones…
git:20261031.b577c3b · audit A · 533 stars
orchestrate SKILL.md skill
apmantza/pi-lens · .claude/skills/orchestrate/SKILL.md · Load the pi-lens orchestration procedure before briefing, routing, or merging a lane — brief authoring, review intake…
git:20261026.42a78a7 · audit A · 533 stars
release-qa SKILL.md skill
apmantza/pi-lens · .claude/skills/release-qa/SKILL.md · Run the pi-lens release-readiness QA pass — witness the feature × modality matrix against a real pi, count coverage…
git:20261026.42a78a7 · audit A · 533 stars
retro SKILL.md skill
apmantza/pi-lens · .claude/skills/retro/SKILL.md · Run the pi-lens retrospective — turn a session, an incident, or a merged bug fix into environment changes (checks…
git:20260930.dd23166 · audit A · 533 stars
verify-pi-lens SKILL.md skill
apmantza/pi-lens · .claude/skills/verify-pi-lens/SKILL.md · Drive a built pi-lens through its real MCP or tool layer, with home and data dirs pinned under the lane TMPDIR, to…
git:20261028.36f87da · audit A · 533 stars
write SKILL.md skill
apmantza/pi-lens · .claude/skills/write/SKILL.md · Load the pi-lens prose standard before writing any comment, issue, PR body, commit message, changelog entry or doc. Use…
git:20261113.a707391 · audit A · 533 stars
AGENTS.md AGENTS.md file
apmantza/pi-lens · AGENTS.md
git:20261116.0533a86 · audit A · 533 stars
CLAUDE.md CLAUDE.md file
apmantza/pi-lens · CLAUDE.md
git:20261031.89e340e · audit A · 533 stars
llms.txt llms.txt file
apmantza/pi-lens · llms.txt
git:20261112.61e8598 · audit A · 533 stars
pi-lens-ast-grep SKILL.md skill
apmantza/pi-lens · skills/pi-lens-ast-grep/SKILL.md · Use when searching or replacing code patterns - use ast-grep instead of text search for semantic accuracy
git:20260911.ce53f48 · audit A · 533 stars
pi-lens-lsp-navigation SKILL.md skill
apmantza/pi-lens · skills/pi-lens-lsp-navigation/SKILL.md · Navigate code with IDE features and run proactive LSP diagnostics on files/folders/batches. Use as PRIMARY for code…
git:20261103.973b4bb · audit A · 533 stars

Every file in apmantza/pi-lens

Browse by kind, by grade A, or by owner.