documentation-sync-workflow-skill

documentation-sync-workflow-skill is a skill for OpenCode from darellchua2/opencode-config-template. It costs 34 tokens per session (1,761 once invoked), scanned A, original, Apache-2.0.

A workflow for updating repository documentation when skills or subagents are added, removed, or renamed. It keeps setup scripts, README.md, and AGENTS.md listings and counts synchronized.

In plain words
What is it for?
Use it when changing the skills or agents directories, verifying documentation accuracy, or adding a new skill or subagent.
Why use it?
It prevents installation instructions and contributor documentation from becoming out of date after repository changes. The workflow identifies the files that need matching updates.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions subagents; mentions AGENTS.md; mentions OpenCode.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/darellchua2/opencode-config-template/documentation-sync-workflow-skill
Any agent
npx skills add darellchua2/opencode-config-template --skill documentation-sync-workflow-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for documentation-sync-workflow-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/documentation-sync-workflow-skill.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/documentation-sync-workflow-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/documentation-sync-workflow-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/documentation-sync-workflow-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,761 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01761
Opus 5 $0.00017 $0.00881
Sonnet 5 $0.00007 $0.00352
Haiku 4.5 $0.00003 $0.00176

Measured 2d ago against content hash b1e04f0220bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

documentation-sync-workflow-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

opencode_app/.opencode/skills/documentation-sync-workflow-skill/SKILL.md · 229 lines

How it starts

The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.

What I do

I ensure documentation files stay synchronized when adding new skills or subagents by guiding updates to 4 key files:

  1. setup.sh - Update skill/agent counts and listings
  2. setup.ps1 - Update skill/agent counts and listings
  3. README.md - Update tables reflecting current skills/agents
  4. AGENTS.md - Document workflow guidance for new additions

When to use me

Use this workflow when:

  • Adding a new skill to the skills/ directory
  • Adding a new subagent to the agents/ directory
  • Removing or renaming skills/subagents
  • Verifying documentation accuracy

Prerequisites

  • Write access to repository files
  • Knowledge of skill category (for new skills)
  • Knowledge of subagent purpose and associated skills (for new subagents)

Files Requiring Updates

1. setup.sh

AGENTS Section: Search for AGENTS ( to find the agent listing. Update when: Adding a new primary agent

SKILLS Section: Search for SKILLS ( to find the skill listing.

   SKILLS (49):
     Framework (7):        test-generator-framework, linting-workflow,
                           ...
     Documentation (2):    coverage-readme-workflow, docstring-generator
     ...

Update when: Adding a new skill - increment count and add to appropriate category

2. setup.ps1

SKILLS Section: Search for SKILLS ( (mirrors setup.sh). Update when: Adding a new skill - same changes as setup.sh

3. README.md

Skill Categories Table: Search for | Category | Skills | to locate.

| Category | Skills | Purpose |
|-----------|---------|---------|
| **Framework** (7) | ... | Generic workflows, testing patterns |
| **Documentation** (2) | coverage-readme-workflow, docstring-generator | Documentation generation |

Update when: Adding a new skill - add to or update appropriate category row

Subagents Table: Search for | Subagent | Purpose | to locate. Update when: Adding a new subagent - add row with purpose and associated skills

4. AGENTS.md

Read the full file on GitHub · 229 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 229 lines · 34 tokens per session scan A b1e04f0220bb

Subscribe to this mod's changes

documentation-sync-workflow-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 5d ago), licensed Apache-2.0. It adds 34 tokens to every session and 1,761 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

keep-the-why

Extract and preserve the reasoning code cannot explain - decisions, rejected alternatives, workarounds, incidents, constraints - plus project setup and maintainer interviews. Not for what changed (see Keep a Changelog) - only why.

oliver-zehentleitner/keep-the-why · 50 tokens

sw-do

Implement a SpecWeave increment task by task through the ledger, with evidence per task and a verified close. Use for "implement this", "start working", "continue the increment", "keep going".

anton-abyzov/specweave · 41 tokens

review

Adversarial fresh-context review of an increment before it ships. Every finding cites path:line and is re-verified. Use when saying "review", "grill this", or "critique the implementation".

anton-abyzov/specweave · 43 tokens

done

Close an increment: ledger check, specweave verify, optional review, then specweave complete. Use when all tasks are done and saying "close increment", "we are done", or "finish up".

anton-abyzov/specweave · 0 tokens

summarize

Summarize conversations, logs, docs, or investigation notes into action-oriented text with evidence tags. Use for recap, handoff, CI failure digest, or MEMORY. Triggers: 总结, 汇总, summarize, 交接, 复盘, 调试总结.

zhinjs/zhin · 61 tokens

pre-modification-check

Use before modifying, refactoring, moving, or deleting files in a Repowise-indexed repository, especially shared utilities, core modules, public APIs, or files the user did not explicitly identify.

repowise-dev/repowise · 45 tokens