Agent skill

Readme Refresh

by joshukraine in joshukraine/dotfiles

Audit and update a project README, or bootstrap a new one. An agent skill from joshukraine/dotfiles.

MITAuto-check: notesDevelopment

Install Readme Refresh

skills CLI
$ npx skills add joshukraine/dotfiles --skill readme-refresh -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install joshukraine/dotfiles readme-refresh --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/joshukraine/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/claude/.claude/skills/readme-refresh .claude/skills/readme-refresh && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
readme-refresh
GitHub stars
429
Token cost
~2.1k tokens
SKILL.md length
959 words
Files
1
Skills in repo
24
Repo updated
First seen
Licence
MIT

At a glance

Audit and update a project README, or bootstrap a new one. An agent skill from joshukraine/dotfiles.

  • Works in 8 steps: Detect mode → Scan the project → Compare against the README → …
  • Tasks that involve Technical documentation
  • SKILL.md covers Command Options, Your task, Refresh Mode and Bootstrap Mode, plus 2 more sections
  • Calls rails, ruby and bundle

What it does

Readme Refresh is an agent skill from joshukraine/dotfiles. Audit and update a project README, or bootstrap a new one. Detects tech stack, versions, and services.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Technical documentation. It works with Ruby and npm. The repository describes itself as: :roundpushpin: My dotfiles for macOS using Neovim, Zsh, and Ghostty + Tmux. The licence is MIT.

When your agent uses it

  • Tasks that involve Technical documentation

Example prompts

  • “/readme-refresh”

Requirements

  • Docker

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Detect mode
  2. Scan the project
  3. Compare against the README
  4. Present findings
  5. Apply fixes
  6. Scan the project
  7. Detect project type and generate README
  8. Present and write

What it can do on your machine

Read from SKILL.md and the folder at commit b59ad5b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • rails
    • ruby
    • bundle

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Readme Refresh loads about 2.1k tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 959 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:132
    undle install`, `bin/rails db:prepare`, `.env` configuration, etc. Only include steps that the project actually needs.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from joshukraine/dotfiles at commit b59ad5b, republished under its MIT licence (© joshukraine). 959 words, ~2,059 tokens.

Download SKILL.mdSave it as .claude/skills/readme-refresh/SKILL.md (or your agent's skills folder).
name
readme-refresh
description
Audit and update a project README, or bootstrap a new one. Detects tech stack, versions, and services.

README Refresh

Audit and update the project README, or bootstrap one if it doesn't exist. The README is a living document — it evolves with the code and should always reflect the current state of the project.

Command Options

  • --bootstrap: Force bootstrap mode even if a README exists (useful to start fresh)

Your task

Step 0: Detect mode
  • If README.md exists at the project root and --bootstrap was not passed: enter Refresh mode (Step 1).
  • If README.md does not exist or --bootstrap was passed: enter Bootstrap mode (Step 5).

Refresh Mode

Step 1: Scan the project

Gather facts from the codebase. Do not rely on the README's current claims — verify independently.

Tech stack and versions:

  • Ruby version: .ruby-version, Gemfile.lock (RUBY VERSION section), .tool-versions
  • Rails version: Gemfile.lock (search for rails ()
  • Node version: .node-version, .nvmrc, .tool-versions, package.json (engines)
  • Database: config/database.yml, Gemfile.lock (pg, mysql2, sqlite3)
  • Key framework gems/packages: Devise, Turbo, Stimulus, Tailwind, Solid Queue, etc. — scan Gemfile or package.json for notable dependencies

Services and infrastructure:

  • Hosting: fly.toml (Fly.io), netlify.toml, Procfile, render.yaml, app.json (Heroku), Dockerfile, docker-compose.yml
  • Storage: look for Active Storage config, S3/Tigris credentials in config/storage.yml
  • Email: config/environments/production.rb (SMTP settings, action_mailer config), initializers for Postmark/SendGrid/etc.
  • Background jobs: config/application.rb or initializers (Solid Queue, Sidekiq, etc.)
  • Search: Elasticsearch, Meilisearch, etc.

Available commands:

  • bin/ directory: list executable scripts (bin/rails, bin/dev, bin/ci, bin/setup, etc.)
  • Procfile.dev or Procfile: processes defined for local development
  • Makefile or Taskfile: custom task definitions
  • package.json scripts section

Configuration requirements:

  • .env.example or .env.template: expected environment variables
  • config/credentials.yml.enc or config/master.key: credentials setup
  • config/database.yml: database setup requirements

CI/CD:

  • .github/workflows/: GitHub Actions workflows
  • .circleci/, .travis.yml, Jenkinsfile: other CI configs
Step 2: Compare against the README

Read the current README.md and compare each claim against the facts gathered in Step 1. Build a findings report with three categories:

  1. Outdated — the README states something that is no longer accurate (e.g., "Rails 7.1" when Gemfile.lock shows Rails 8.0, or mentions a service that has been removed).
  2. Missing — something exists in the project that the README doesn't mention and reasonably should (e.g., a bin/dev script for local development, a background job processor, a CI workflow).
  3. Stale references — commands, URLs, or setup steps that no longer work or point to things that don't exist.

Do not flag:

  • Prose descriptions of what the app does (subjective — leave to the human).
  • Stylistic preferences (heading structure, badge choices, etc.).
  • Items that are genuinely optional to document.
Step 3: Present findings

CHECKPOINT: Present the findings report to the user. Format:

text
README Refresh — Findings
==========================

Outdated (N items):
  ✗ Ruby version: README says 3.3.0, project uses 4.0.1
  ✗ Rails version: README says 7.1, Gemfile.lock shows 8.0.1
  ✗ References Redis for caching, but project uses Solid Cache

Missing (N items):
  + bin/dev script not documented (starts Procfile.dev with foreman)
  + Postmark configured for transactional email — not mentioned
  + GitHub Actions CI workflow exists — not documented

Stale references (N items):
  ⚠ Setup step 3 references `rake db:seed` — project uses `bin/rails db:seed`
  ⚠ Link to API docs points to a 404

No issues found: (list any sections that are current and accurate)

Ask: "Want me to apply the mechanical fixes? I'll update versions, add missing sections, and remove stale references. I won't rewrite prose descriptions."

Step 4: Apply fixes

For each confirmed finding:

  • Outdated versions/facts: Update to the verified value from Step 1.
  • Missing sections: Add a concise section with the verified information. Match the existing README's style and heading level conventions.
  • Stale references: Fix or remove. If a command changed, update it. If a link is dead and no replacement is obvious, comment it out with a note.

After applying changes:

  • Show a diff summary of what was changed.
  • Do not commit automatically — let the user review and commit when ready (or offer to commit it for them).

Bootstrap Mode

Step 5: Scan the project

Run the same scan as Step 1 to gather project facts.

Show full SKILL.md (423 more words)Show less
Step 6: Detect project type and generate README

Based on the scan results, generate a README with these sections (omit any that don't apply):

  1. Project name and description — use the repo name as a heading. Add a one-line placeholder: <!-- TODO: Add project description -->. Do not invent a description.
  2. Tech stack — list detected language, framework, database, and key dependencies with verified versions.
  3. Prerequisites — what needs to be installed before setup (Ruby, Node, PostgreSQL, etc.) with version requirements.
  4. Setup — step-by-step local development setup based on what exists: bin/setup, bundle install, bin/rails db:prepare, .env configuration, etc. Only include steps that the project actually needs.
  5. Development — how to run the app locally (bin/dev, bin/rails server, etc.), how to run tests, how to run the linter.
  6. Deployment — if hosting config is detected (fly.toml, netlify.toml, etc.), document the deployment target and any relevant commands.
  7. Services — external services the app depends on (email provider, object storage, background jobs, etc.).
  8. Documentation — if a docs/ directory exists, mention it and list key documents (PRD, domain model, etc.).
Step 7: Present and write

CHECKPOINT: Present the generated README to the user for review.

Write the file to README.md at the project root. Do not commit — let the user review and commit when ready.


Important

  • This skill inspects and reports. It does not refactor code, change configuration, or install dependencies.
  • Prose and subjective descriptions are the human's domain. The command handles mechanical, verifiable facts.
  • The command is framework-aware but not framework-specific. The scan in Step 1 covers Rails, Node, Python, Go, Rust, and Hugo projects. For unrecognized stacks, fall back to checking common files (Makefile, Dockerfile, docker-compose.yml, README.md).
  • When in doubt about whether something belongs in the README, include it in the findings report and let the user decide.
  • If the project has a CLAUDE.md, read it for additional context about conventions, but do not document CLAUDE.md itself in the README (it is tooling-specific, not project documentation).

Lifecycle Context

This is a living-document maintenance command (→ See spec-driven-development.md §5 "Document Lifecycle"). The README is never frozen — it evolves with the code.

Project StageREADME Refresh Focus
GreenfieldBootstrap mode. Generate initial README as setup docs solidify.
MVP completeFull refresh. The README likely drifted during rapid development.
MatureLight periodic refresh. Versions and dependencies are the main drift vectors.

Suggested cadence: Run after phase boundaries, after /update-deps, or whenever the project feels like it has accumulated untracked changes. A good rule of thumb: if you'd be embarrassed for a new contributor to read the README, it's time.

© joshukraine, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in claude/.claude/skills/readme-refresh of joshukraine/dotfiles.

Open the folder on GitHubat commit b59ad5b

Compare with similar skills

Readme Refresh next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Readme Refresh compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Readme Refresh this skilljoshukraine/dotfiles429—~2.1kAutomated safety check: NotesMIT
Dashclaw Shipucsandman/DashClaw310—~7.2kAutomated safety check: PassMIT
Dev Serverlablup/backend.ai-webui133—~7.5kAutomated safety check: NotesLGPL-3.0
Get API Docs with chubandrewyng/context-hub14k1 repos~775Automated safety check: PassMIT
Update .NET Supported OS Matrixdotnet/core22k—~4.1kAutomated safety check: PassMIT
Ccb GitHubSeemSeam/claude_codex_bridge3.6k—~4.9kAutomated safety check: PassCustom licence

Similar skills

  • Dashclaw Ship

    ucsandman/DashClaw

    The single command that gets a DashClaw change ON MAIN AND LIVE — it resolves everything blocking production, never defers, and never hands back a checklist.

    310 GitHub stars~7.2k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Dev Server

    lablup/backend.ai-webui

    Start the project's development server (pnpm dev for backend.ai-webui; discovered from README/package.json elsewhere), deriving the header color, app name, default backend endpoint and login…

    133 GitHub stars~7.5k tokensUpdated today
    DevelopmentAuto-check: notes
  • Get API Docs with chub

    andrewyng/context-hub

    Fetches current documentation for third-party APIs and SDKs with the chub CLI before the agent writes code against them, instead of relying on remembered API shapes.

    14k GitHub starsUsed in 1 repo~775 tokens
    DevelopmentAuto-check passed
  • Official

    Audits and updates the supported-os.json files for .NET releases, checking them against upstream lifecycle data and regenerating the markdown with the release-notes tool.

    22k GitHub stars~4.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Ccb GitHub

    SeemSeam/claude_codex_bridge

    Maintain this CCB project's GitHub-facing release and npm publication surface.

    3.6k GitHub stars~4.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Adds shadcn/ui-styled README badges, badge groups, download charts, header banners and sponsor or contributor grids using the shieldcn service.

    918 GitHub stars~4.3k tokensUpdated today
    DevelopmentAuto-check passed

More from joshukraine/dotfiles

All 24 skills in this repo
  • Todoist CLI

    joshukraine/dotfiles

    Manage Todoist tasks, projects, labels, filters, sections, comments, reminders, and workspaces via the td CLI.

    429 GitHub starsUsed in 1 repo~6.9k tokens
    Auto-check passed
  • Autopilot Triage

    joshukraine/dotfiles

    Vet open issues for autonomous resolution and queue the qualifying ones with the autopilot-queued label — the start-of-day "fill the queue" half of the triage → run split.

    429 GitHub stars~2.1k tokensUpdated 3 days ago
    Auto-check passed
  • Checkpoint

    joshukraine/dotfiles

    Quick 2-minute status update on current phase, completed work, blockers, and health check.

    429 GitHub stars~600 tokensUpdated 3 days ago
    Auto-check passed
  • Create PR

    joshukraine/dotfiles

    Create a pull request with auto-generated description, issue linking, ROADMAP updates, and PR-metadata validation.

    429 GitHub stars~1.3k tokensUpdated 3 days ago
    Auto-check passed
  • Debrief

    joshukraine/dotfiles

    Detailed technical walkthrough covering architecture, test coverage, product tour, and key design decisions.

    429 GitHub stars~2.5k tokensUpdated 3 days ago
    Auto-check passed
  • Drift Check

    joshukraine/dotfiles

    Pre-PR advisory check for deviations from the project spec. An agent skill from joshukraine/dotfiles.

    429 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed

Works with

Questions about Readme Refresh

What does Readme Refresh do?

Audit and update a project README, or bootstrap a new one. An agent skill from joshukraine/dotfiles. Readme Refresh is an agent skill from joshukraine/dotfiles. Audit and update a project README, or bootstrap a new one.

When should I use Readme Refresh?

Readme Refresh fits situations like: tasks that involve Technical documentation.

How do I install Readme Refresh in Claude Code?

Run `npx skills add joshukraine/dotfiles --skill readme-refresh -a claude-code`. Or copy the skill folder (claude/.claude/skills/readme-refresh in joshukraine/dotfiles) into .claude/skills/readme-refresh in your project. Claude Code loads it when a task matches its description.

How do I install Readme Refresh in Codex?

Run `npx skills add joshukraine/dotfiles --skill readme-refresh -a codex`. Or copy the skill folder (claude/.claude/skills/readme-refresh in joshukraine/dotfiles) into .agents/skills/readme-refresh in your project. Codex loads it when a task matches its description.

Can I use Readme Refresh in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add joshukraine/dotfiles --skill readme-refresh -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/readme-refresh, .gemini/skills/readme-refresh, .github/skills/readme-refresh and .opencode/skills/readme-refresh in your project.

What does Readme Refresh need to run?

Going by SKILL.md and its folder, Readme Refresh needs the command-line tools its instructions call (rails, ruby and bundle). Our summary lists: Docker.

Does Readme Refresh access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Readme Refresh safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Readme Refresh use?

Readme Refresh is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Readme Refresh use?

About 2.1k tokens (SKILL.md is roughly 8.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Readme Refresh?

Skills that share tags, products or a category with Readme Refresh: Dashclaw Ship (ucsandman/DashClaw, 310 stars), Dev Server (lablup/backend.ai-webui, 133 stars), Get API Docs with chub (andrewyng/context-hub, 14k stars) and Update .NET Supported OS Matrix (dotnet/core, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Readme Refresh?

joshukraine (a GitHub user) maintains it in joshukraine/dotfiles, which has 429 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 6, 2026.

Source: joshukraine/dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.