mubashermohammed/opencode-bioinfo/agents-md-revise

Claude Code and agent skill by mubashermohammed/opencode-bioinfo

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Capture learnings from the current session into the project-rules file (AGENTS.md, CLAUDE.md, or local override) so future sessions benefit. Use when the user says "revise the rules", "update AGENTS.md / CLAUDE.md with what we just learned", "save this to project memory", "remember this for next time", or at the end of a productive session when valuable context has emerged that is not yet documented. This is the COMPLEMENT to agents-md-improver: improver audits, this one captures.

Install

npx vskill@latest install mubashermohammed/opencode-bioinfo/agents-md-revise

SKILL.md

The same SKILL.md was published earlier as 1git2clone/nixos-dotfiles/agents-md-revise.

AGENTS.md / CLAUDE.md Revise

Review the current session for learnings about working in this codebase, then update the project-rules file with context that would help future sessions be more effective.

OpenCode reads project rules from AGENTS.md (native) or CLAUDE.md (Claude Code compatibility). When this skill creates a new file, prefer AGENTS.md. When updating an existing file, edit whichever the project already uses.

Step 1 — Reflect

Look back over the session and identify what context was missing that would have helped the agent work more effectively. Examples:

  • Bash commands that were used or discovered
  • Code-style patterns followed
  • Testing approaches that worked
  • Environment / configuration quirks
  • Warnings or gotchas encountered
  • Build steps that surprised you
  • Tool versions that mattered
  • Project-specific conventions that took time to figure out

Be selective. Only capture things that:

  1. Will recur in future sessions (not one-off fixes).
  2. Would have saved time if known up front.
  3. Cannot be derived by reading the code.

Step 2 — Find rules files

bash
find . \( -name "AGENTS.md" -o -name "CLAUDE.md" -o -name ".agents.local.md" -o -name ".claude.local.md" \) 2>/dev/null | head -20

Decide where each addition belongs:

  • `AGENTS.md` / `CLAUDE.md` — team-shared, committed to git. Use for project-wide conventions, build commands, architectural notes.
  • `.agents.local.md` / `.claude.local.md` — personal / local only, gitignored. Use for personal preferences that should not affect teammates.

If no rules file exists yet, propose creating AGENTS.md at the project root.

Step 3 — Draft additions

Keep it concise. The rules file is part of every prompt, so brevity matters. One line per concept when possible.

Format: <command or pattern> — <brief description>

Avoid:

  • Verbose explanations
  • Obvious information that any reader of the code would already know
  • One-off fixes unlikely to recur
  • Restating what is already documented elsewhere in the rules file

Prefer:

  • Imperative commands ("Run pnpm i --frozen-lockfile after pulling")
  • Concrete gotchas ("The dev script binds to port 3000 — kill any other process on that port first")
  • Project-specific patterns ("All dates are stored in UTC; convert at the boundary")

Step 4 — Show proposed changes

For each addition, show the user the diff before applying. Format:

`markdown
### Update: ./AGENTS.md
**Why:** [one-line reason this matters for future sessions]
  • [the addition — keep it brief]

If multiple additions go to the same file, group them under one header so the user can review the whole change in one view.

Step 5 — Apply with approval

Ask the user explicitly: "Apply these changes?" Edit only files they approve.

Preserve the existing structure. Place additions in the most relevant section (e.g., a new build command goes under "Commands" if that section exists). If no obvious section fits, create one with a clear header.

If the user rejects an addition, do not retry it in the same session — they may have a reason. Move on.

Notes

  • This skill writes to project files. Always show the diff first and wait for approval.
  • Pair this skill with agents-md-improver for the full maintenance loop: improver audits and identifies gaps; this one captures fresh session-specific learnings.
  • Do not include sensitive information (API keys, tokens, internal URLs) in committed rules files. Put those in .agents.local.md / .claude.local.md or in environment variables.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mubashermohammed/opencode-bioinfo/agents-md-revise/badge)](https://verified-skill.com/skills/mubashermohammed/opencode-bioinfo/agents-md-revise)

Something wrong with this skill or its page? Tell us.