{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "kina-cmd-agent-skill-sync--generate-skill-index-for-agent",
 "repo": "kina-cmd/agent-skill-sync",
 "repo_url": "https://github.com/kina-cmd/agent-skill-sync",
 "repo_slug": "kina-cmd-agent-skill-sync",
 "title": "Generate an always-current skill index for your agent",
 "page_title": "How to generate an always-current skill index for your agent with Agent Skill Sync",
 "summary": "Build INDEX.md and inventory.json so an agent reads a file that matches the real skill folders.",
 "who": "A developer who keeps a hand-written tool-reuse skill for their agent and is tired of it going stale.",
 "problem": "A hand-maintained index rots as soon as a skill is added or changed upstream.",
 "outcome": "A generated INDEX.md and inventory.json you can commit, or place in a tool-reuse skill for the agent to read.",
 "steps": [
  "Install the CLI with `pipx install agent-skill-sync`.",
  "Run `skillsync index --out ./output --lang zh` to write INDEX.md and inventory.json.",
  "Open the generated INDEX.md and check that each skill shows its category and the reason for it.",
  "Schedule the same index command on a timer or a git hook so the file stays current."
 ],
 "agent_prompt": "Use the agent-skill-sync repo to regenerate the skill index. Run `skillsync index --out <output-dir> --lang zh` and confirm that INDEX.md and inventory.json were written. Expected output: two files in <output-dir>. Verify that inventory.json lists the same skills that `skillsync scan` shows.",
 "agents": [
  "codex",
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The index only reflects the source roots the tool can find, so add custom roots in skillsync.toml if your skills live elsewhere.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11 or newer",
  "Local SKILL.md skill folders for Codex, Claude Code or other supported agents",
  "pipx or pip to install the agent-skill-sync package"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/kina-cmd-agent-skill-sync/generate-skill-index-for-agent/",
 "md": "https://dedupedai.com/use-cases/kina-cmd-agent-skill-sync/generate-skill-index-for-agent/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/kina-cmd-agent-skill-sync--generate-skill-index-for-agent.json",
 "api_version": "v1"
}
