agentsclimarketplace

Tool sp maintain agents instructions

Skill swiftpostlabs/agentic-tools/.agents/skills/tool-sp-maintain-agents-instructions

Shareable skills and tools for AI agents

Install
npx -y skills add swiftpostlabs/agentic-tools --skill tool-sp-maintain-agents-instructions

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Review and update repository agent instruction files after code, workflow, or skill changes. Use when: AGENTS.md, GEMINI.md, or .claude/CLAUDE.md may be outdated, the skill catalog changed, or a multi-provider repo needs its instruction bridge refreshed.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

7.0 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it

Maintain Agents Instructions

Purpose

Guide the agent through a short maintenance wizard so top-level instruction files stay aligned with current repo workflows, skill changes, and provider support without drifting into duplicate or conflicting guidance.

When to use this skill

  • The repo's workflows, commands, or package-manager defaults changed.
  • Skills were added, removed, renamed, or substantially rewritten.
  • AGENTS.md, GEMINI.md, or .claude/CLAUDE.md may be outdated.
  • A repo added multi-provider support and needs a bridge pattern or refresh.

Scope boundaries

This tool maintains the instruction filesAGENTS.md and the provider bridges — not the skills they route to.

  • tool-sp-maintain-skills — drift inside the skills themselves. The two hand off constantly: renaming a skill drifts the routing here, and a rule that outgrew an instruction file usually belongs in a skill over there.
  • ref-sp-agents-instructions-authoring — the rules this tool applies: source-of-truth model, bridge pattern, persona placement.
  • ref-sp-agents-mr-wolf-persona — the canonical persona text. The instruction file carries a verbatim projection of it; this tool re-syncs that copy but never rewrites the voice in place.
  • Domain detail belongs in the owning skill, not in an instruction file. Moving a rule out of AGENTS.md and into its skill is a valid outcome of this pass.

First Step

Read the repo's instruction-authoring skill (ref-sp-agents-instructions-authoring here, the requires dependency), its agent-persona skill (ref-sp-agents-mr-wolf-persona here), and the provider reference files under the instruction-authoring skill's references/providers/ folder that match the files being touched.

Core Workflow

  1. Inspect the current instruction files and the code or skill changes that may affect them.
  2. Ask only the missing questions needed to determine the source of truth, supported providers, and any real provider-specific exceptions.
  3. Update the source-of-truth instruction file first.
  4. Refresh provider bridge files so they still point back to the source of truth cleanly.
  5. Update skill listings, help-routing sections, quick commands, and workflow summaries that drifted.
  6. Validate that the files still agree and that bridge files remain thin.

Defaults

  • Prefer a single source-of-truth instruction file plus thin provider bridges.
  • Prefer a root AGENTS.md as the source of truth; fall back to .github/copilot-instructions.md only when the repo is Copilot-centric or already uses that pattern.
  • If the repo supports multiple providers, recommend an import bridge rather than parallel duplicated instruction bodies.
  • When the repo carries a deliberate persona or working style, keep the persona core inline in the source-of-truth file — it must load on every turn — and treat the repo's agent-persona skill (ref-sp-agents-mr-wolf-persona here) as the canonical text that copy is refreshed from. Sync in that direction; never rewrite the tone ad hoc in the instruction file. See "Persona placement" in ref-sp-agents-instructions-authoring.
  • When skill names or workflows change, update both the source-of-truth file and any provider routing summaries that mention them.
  • If the top-level instruction file grows too large, move domain detail into the owning skill and keep only routing at the top level.

Wizard Questions

Ask only the questions that are still unanswered after inspecting the repo.

Question areaWhat to askWhyWhenExpected outcome
Provider supportWhich providers or entry files does this repo actively support now?The maintenance pass should not update phantom entry points or miss live ones.When the supported provider set is unclear.The update scope matches the real instruction surfaces.
Source of truthWhich file should own the real repo guidance after this update?The maintenance pass needs one authoritative file before bridges can be refreshed.When the current source of truth is unclear or changing.One file owns the real workflow and policy text.
Provider-specific exceptionsDoes any provider need a real provider-specific note, or should the bridge stay thin?Unnecessary provider-specific text creates drift.When a bridge file is growing or behaving differently.Exceptions stay narrow and justified.
Drift scopeWhich commands, workflows, skills, or policies changed?The maintenance pass should update the exact sections that drifted, not rewrite the whole file blindly.When the triggering change is broad or loosely described.The edit is focused on the real drift surface.

Gotchas

  • Do not rewrite every instruction file independently if an import bridge already exists.
  • Do not leave skill listings or quick-command sections stale after renames or workflow changes.
  • Do not move framework or language detail into the top-level instructions when the owning skill should hold it.
  • If the repo already uses policy-managed files such as .aiexclude or .claude/settings.json, instruction updates should still match that model.

Validation

  • Check the result against the instruction-authoring skill's checklist (ref-sp-agents-instructions-authoring; in this repo, its references/checklist.md).
  • Confirm the source-of-truth file and bridge files still agree.
  • Confirm provider bridge files remain minimal unless a real provider-specific exception exists.
  • Run a targeted error check on the touched instruction files before concluding.

References

  • Read the instruction-authoring skill's provider references (ref-sp-agents-instructions-authoring; in this repo, its references/providers/copilot-instructions.md, references/providers/gemini-instructions.md, and references/providers/claude-instructions.md) for file-specific authoring rules.
  • Use the repo's agent-persona skill (ref-sp-agents-mr-wolf-persona here) when the instruction changes need to preserve the repo's agent voice, interaction style, or escalation stance.
  • Use the repo's skill-maintenance skill (tool-sp-maintain-skills here) when the instruction pass also needs skill consolidation or routing cleanup.
  • Use the repo's agent-security skill (ref-sp-agents-security here) when instruction changes must stay aligned with generated policy files or provider restrictions.

Gives 0 of the 12 instructions most memory context skills give in ~1.3k tokens

Counted across 674 of the 847 authors here whose files we hold, read 2026-08-06

  • inform the user when setup is completein 21 of 674, across 6 files
  • confirm the draft with the user before writingin 21 of 674, across 6 files
  • update the agent skills block in place if it existsin 21 of 674, across 6 files
  • present findings to the userin 20 of 674, across 5 files
  • write the three docs files from seed templatesin 20 of 674, across 5 files
  • ask the user about each decision one at a timein 19 of 674, across 4 files
  • edit CLAUDE.md if it existsin 18 of 674, across 3 files
  • explore current repo statein 18 of 674, across 3 files
  • do not overwrite user edits to surrounding sectionsin 18 of 674, across 3 files
  • back up the original file before overwritingin 16 of 674, across 8 files
  • keep the memory index under 200 linesin 15 of 674
  • Provide actionable steps and verificationin 13 of 674, across 2 files

Said here and by no other author read

  • inspect current instruction files and recent changes
  • ask only the missing source-of-truth questions
  • update the source-of-truth instruction file first
  • refresh provider bridge files to point back cleanly
  • update drifted skill listings and quick-command sections
  • validate that instruction files agree and bridges stay thin

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.