prepare-repo-context SKILL.md skillA

prepare-repo-context from phalegethon/the-agentic-fieldbook is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add phalegethon/the-agentic-fieldbook/prepare-repo-context@v1.10.0

Pins v1.10.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
phalegethon/the-agentic-fieldbook
Path
skills/prepare-repo-context/SKILL.md
Versions recorded
6
Latest version
v1.10.0, committed Sep 7, 2026
First version recorded
Sep 5, 2026
Size
17,178 bytes
Repository stars
3
License
MIT

Use when a developer wants to inspect, prepare, refresh, query, or understand bounded repository context without loading or indexing the full codebase into the model context.

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

# Prepare Repo Context

Prepare reusable local repository context with deterministic tooling while keeping the model context small.

Let `<skill-dir>` be this skill's directory. Resolve the repository, then resolve `<python>` to `python3` or a Python 3 `python`. If Git or Python 3 is unavailable, report the missing prerequisite; do not install anything.

0. If the `repo-context` MCP tools (`inspect`, `build`, `repository_map`, `search_symbols`, `search_docs`, `source_snippets`, `related_symbols`, `changed_symbols`, `impact_candidates`, `repository_overview`, exposed by this plugin's bundled server) are available in this session, use them for the inspect, build, and query steps below instead of the script: the tool arguments mirror the script's flags and the results are the same objects. The consent rules do not change: pass `confirm_state_write: true` to `build` only after the user approved writing state in this conversation. `activate`, `gc`, `remove`, and `hook` are script-only; run them as described here.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add phalegethon/the-agentic-fieldbook/prepare-repo-context@sha256:a9acbb8f14874cad

The line at the top of this page pins the label v1.10.0, 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_mazp3k3ewenzfgkh.svg)](https://markdownregistry.com/a/art_mazp3k3ewenzfgkh)

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

Versions

The registry has recorded 6 versions of this file, between Sep 5, 2026 and Sep 7, 2026, more than one a day.

versioncommittedcommitsizeaudit
v1.10.0 latest2026-09-07 706b00b 17,178 BA view · diff
v1.9.12026-09-05 dcb22a1 17,177 BA view · diff
v1.9.02026-09-05 7732b31 16,354 BA view · diff
v1.9.02026-09-05 4623bdb 16,182 BA view · diff
v1.8.52026-09-05 c32af18 14,821 BA view · diff
v1.8.42026-09-05 f279d24 14,318 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (17178 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

phalegethon/the-agentic-fieldbook · 3 stars · license MIT · pushed 2026-09-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mazp3k3ewenzfgkh
GET https://markdownregistry.com/api/v1/resolve?ref=phalegethon/the-agentic-fieldbook/prepare-repo-context
GET https://markdownregistry.com/api/v1/blob/a9acbb8f14874cad0496cf60faae2efef5c6b633681023466e93fafb6bc1380b

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: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from phalegethon/the-agentic-fieldbook

branch-handoff SKILL.md skill
phalegethon/the-agentic-fieldbook · skills/branch-handoff/SKILL.md · Use when a developer needs a DEV and QA handoff from changes between a feature branch and main or another base, with…
v1.2.1 · audit A · 3 stars
work-recovery SKILL.md skill
phalegethon/the-agentic-fieldbook · skills/work-recovery/SKILL.md · Use when a developer asks where interrupted work stopped, what remains, what to do next, or needs a reliable recovery…
v1.1.0 · audit A · 3 stars

Every file in phalegethon/the-agentic-fieldbook

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