Agent skill

Adapter Sync

by JetXu-LLM in JetXu-LLM/DocMason

Generate or refresh the local Claude adapter surface for DocMason from canonical committed sources.

Apache-2.0Auto-check passedKnowledge Management

Install Adapter Sync

skills CLI
$ npx skills add JetXu-LLM/DocMason --skill adapter-sync -a claude-code

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

GitHub CLI
$ gh skill install JetXu-LLM/DocMason adapter-sync --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/JetXu-LLM/DocMason.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/canonical/adapter-sync .claude/skills/adapter-sync && 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
adapter-sync
GitHub stars
147
Token cost
~684 tokens
SKILL.md length
364 words
Files
2
Skills in repo
15
Repo updated
First seen
Licence
Apache-2.0

At a glance

Generate or refresh the local Claude adapter surface for DocMason from canonical committed sources.

  • Works in 7 steps: Treat AGENTS.md, canonical SKILL.md… → Use claude as the default target unless… → Run docmason status --json when you need… → …
  • Knowledge Management work in your project
  • SKILL.md covers Required Capabilities, Procedure, Escalation Rules and Completion Signal, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Adapter Sync is an agent skill from JetXu-LLM/DocMason. Generate or refresh the local Claude adapter surface for DocMason from canonical committed sources.

Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `workflow.json`).

It sits in Knowledge Management. The repository describes itself as: DocMason is a repo-native agent that turns your complex office files into a local LLM knowledge base and your second brain. The repo is the app. Codex is the runtime. The licence is Apache-2.0.

When your agent uses it

  • Knowledge Management work in your project

Example prompts

  • “/adapter-sync”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Treat AGENTS.md, canonical SKILL.md files, and canonical workflow.json sidecars as the authored source of truth.
  2. Use claude as the default target unless the user explicitly asks for another target.
  3. Run docmason status --json when you need to confirm whether the generated adapter is missing or stale.
  4. Run docmason sync-adapters --json.
  5. If adapter sync fails because canonical sources or workflow metadata are missing or invalid, stop and return that failure to the main…
  6. If adapter sync succeeds, run docmason status --json when you need to confirm the adapter is now fresh.
  7. Return the final adapter status judgment to the main agent. Do not delegate adapter regeneration sign-off.

What it can do on your machine

Read from SKILL.md and the folder at commit 362417b. 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

    No scripts in the folder and no shell commands in SKILL.md.

    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

Adapter Sync loads about 684 tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 364 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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 JetXu-LLM/DocMason at commit 362417b, republished under its Apache-2.0 licence (© JetXu-LLM). 364 words, ~684 tokens.

Download SKILL.mdSave it as .claude/skills/adapter-sync/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
adapter-sync
description
Generate or refresh the local Claude adapter surface for DocMason from canonical committed sources.

Adapter Sync

Use this skill when the task is to generate or refresh the currently supported adapter artifacts.

This is an explicit adapter-maintenance workflow. It is not a universal prerequisite before every ordinary ask turn. For non-native compatibility targets such as Claude Code, this is the first adaptation step once workspace bootstrap has determined that generated adapter guidance is needed.

Required Capabilities

  • local file access
  • shell or command execution
  • ability to regenerate derived files instead of editing them manually

If the agent cannot write local generated files, stop and explain that adapter synchronization cannot proceed.

Procedure

  1. Treat AGENTS.md, canonical SKILL.md files, and canonical workflow.json sidecars as the authored source of truth.
  2. Use claude as the default target unless the user explicitly asks for another target.
  3. Run docmason status --json when you need to confirm whether the generated adapter is missing or stale.
  4. Run docmason sync-adapters --json.
  5. If adapter sync fails because canonical sources or workflow metadata are missing or invalid, stop and return that failure to the main agent instead of improvising a manual adapter.
  6. If adapter sync succeeds, run docmason status --json when you need to confirm the adapter is now fresh.
  7. Return the final adapter status judgment to the main agent. Do not delegate adapter regeneration sign-off.
Show full SKILL.md (148 more words)Show less

Escalation Rules

  • If the requested target is not implemented, stop and report the current deferral clearly.
  • If the generated adapter is stale after canonical source changes, rerun sync-adapters instead of hand-editing generated files.

Completion Signal

  • The workflow is complete when docmason sync-adapters --json succeeds or returns a clear unsupported-target or metadata-validation failure that the main agent can surface directly.

Notes

  • DocMason currently supports the Claude target only.
  • Generated adapters are local derived artifacts and should not be hand-maintained.
  • The committed .claude/CLAUDE.md is the sole Claude project-memory entry file in this repo.
  • Adapter sync refreshes the generated adapters/claude/project-memory.md and adapters/claude/workflow-routing.md files that .claude/CLAUDE.md can import.
  • Adapter sync also refreshes the repo-local .claude/skills/ thin shim layer instead of relying on a hand-created symlink to the full repo skills tree.
  • Use this workflow when the chosen agent ecosystem actually depends on generated adapter files, not as a reflex before every workflow.

© JetXu-LLM, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/canonical/adapter-sync of JetXu-LLM/DocMason.

  • SKILL.md
  • workflow.json

Open the folder on GitHubat commit 362417b

Compare with similar skills

Adapter Sync 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.

Adapter Sync compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Adapter Sync this skillJetXu-LLM/DocMason147—~684Automated safety check: PassApache-2.0
Baoyu URL To Markdownsdyckjq-lab/llm-wiki-skill2.5k3 repos~3.2kAutomated safety check: PassNone
Logseq Review Workflow Evallogseq/logseq45k—~1kAutomated safety check: PassAGPL-3.0
Obsidian CLIAtmosphere/atmosphere3.8k13 repos~795Automated safety check: PassApache-2.0
Esm Cjs Risk Scanlogseq/logseq45k—~3.3kAutomated safety check: PassAGPL-3.0
Capture Conversationoutline/outline41k—~474Automated safety check: PassCustom licence

Similar skills

  • Baoyu URL To Markdown

    sdyckjq-lab/llm-wiki-skill

    Fetch any URL and convert to markdown using Chrome CDP. An agent skill from sdyckjq-lab/llm-wiki-skill.

    2.5k GitHub starsUsed in 3 repos~3.2k tokens
    Knowledge ManagementAuto-check passed
  • Compare two revisions of the Logseq logseq-review-workflow skill by running the same review prompt against isolated before and after skill snapshots, collecting both outputs, and producing a…

    45k GitHub stars~1k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Obsidian CLI

    Atmosphere/atmosphere

    Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more.

    3.8k GitHub starsUsed in 13 repos~795 tokens
    Knowledge ManagementAuto-check passed
  • Esm Cjs Risk Scan

    logseq/logseq

    Scan Logseq ClojureScript Node/Electron targets for npm module loading risks, especially ESM-only packages that may fail when loaded through js/require or shadow-cljs require-based shims.

    45k GitHub stars~3.3k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Capture Conversation

    outline/outline

    Save the current conversation, a decision, or a set of notes as a document in an Outline collection; use when the user wants to keep what was discussed in their knowledge base.

    41k GitHub stars~474 tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Karpathy LLM Wiki

    Astro-Han/karpathy-llm-wiki

    A skill your agent uses when building or maintaining a personal LLM-powered knowledge base.

    2.4k GitHub stars~3.6k tokensUpdated 2 mo ago
    Knowledge ManagementAuto-check passed

More from JetXu-LLM/DocMason

All 15 skills in this repo
  • Ask

    JetXu-LLM/DocMason

    Accept an ordinary user question inside a DocMason workspace, route it to the right inner workflow, and preserve conversation-native logs automatically.

    147 GitHub stars~7.1k tokensUpdated 8 days ago
    Auto-check passed
  • Grounded Answer

    JetXu-LLM/DocMason

    Answer a user question through DocMason's canonical grounded workflow using retrieval, provenance tracing, render escalation, and a final answer-state check.

    147 GitHub stars~3.1k tokensUpdated 8 days ago
    Auto-check passed
  • Grounded Composition

    JetXu-LLM/DocMason

    Produce evidence-backed research, planning, drafting, or composition output from the published DocMason knowledge base while preserving provenance and answer-file discipline.

    147 GitHub stars~2.7k tokensUpdated 8 days ago
    Auto-check passed
  • Knowledge Base Sync

    JetXu-LLM/DocMason

    Stage, incrementally refresh, validate, and publish the DocMason knowledge base from the local source corpus.

    147 GitHub stars~1.5k tokensUpdated 8 days ago
    Auto-check passed
  • Knowledge Construction

    JetXu-LLM/DocMason

    Write bilingual Phase 3 knowledge objects for staged DocMason sources from rendered evidence and extracted structure.

    147 GitHub stars~1.8k tokensUpdated 8 days ago
    Auto-check passed
  • Operator Eval

    JetXu-LLM/DocMason

    Run the hidden operator-only evaluation loop over local runtime/eval artifacts without exposing that surface in normal first-contact workflows.

    147 GitHub stars~433 tokensUpdated 8 days ago
    Auto-check passed

Questions about Adapter Sync

What does Adapter Sync do?

Generate or refresh the local Claude adapter surface for DocMason from canonical committed sources. Adapter Sync is an agent skill from JetXu-LLM/DocMason. Generate or refresh the local Claude adapter surface for DocMason from canonical committed sources.

When should I use Adapter Sync?

Adapter Sync fits situations like: knowledge Management work in your project.

How do I install Adapter Sync in Claude Code?

Run `npx skills add JetXu-LLM/DocMason --skill adapter-sync -a claude-code`. Or copy the skill folder (skills/canonical/adapter-sync in JetXu-LLM/DocMason) into .claude/skills/adapter-sync in your project. Claude Code loads it when a task matches its description.

How do I install Adapter Sync in Codex?

Run `npx skills add JetXu-LLM/DocMason --skill adapter-sync -a codex`. Or copy the skill folder (skills/canonical/adapter-sync in JetXu-LLM/DocMason) into .agents/skills/adapter-sync in your project. Codex loads it when a task matches its description.

Can I use Adapter Sync 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 JetXu-LLM/DocMason --skill adapter-sync -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/adapter-sync, .gemini/skills/adapter-sync, .github/skills/adapter-sync and .opencode/skills/adapter-sync in your project.

What does Adapter Sync need to run?

SKILL.md names no scripts, command-line tools or credentials: Adapter Sync is instructions for the agent only.

Does Adapter Sync 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 Adapter Sync safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Adapter Sync use?

Adapter Sync is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Adapter Sync use?

About 684 tokens (SKILL.md is roughly 2.7k 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 Adapter Sync?

Skills that share tags, products or a category with Adapter Sync: Baoyu URL To Markdown (sdyckjq-lab/llm-wiki-skill, 2.5k stars), Logseq Review Workflow Eval (logseq/logseq, 45k stars), Obsidian CLI (Atmosphere/atmosphere, 3.8k stars) and Esm Cjs Risk Scan (logseq/logseq, 45k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Adapter Sync?

JetXu-LLM (a GitHub user) maintains it in JetXu-LLM/DocMason, which has 147 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on September 30, 2026.

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