# Sync Agent Skills

> Maintain repository agent skills across Codex and Claude. Use when adding, removing, renaming, or editing skills under `.agents/skills`, when Claude cannot see repository skills, when `.claude/skills` symlinks need to be generated or checked, or when updating the skill loading bridge between `.agents/skills` and tool-specific skill directories.

- **Type:** Skill
- **Install:** `agentstack add skill-hhhyyyy99-prot-skills-sync-agent-skills`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [hhhyyyy99](https://agentstack.voostack.com/s/hhhyyyy99)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [hhhyyyy99](https://github.com/hhhyyyy99)
- **Source:** https://github.com/hhhyyyy99/prot-skills/tree/main/.agents/skills/sync-agent-skills

## Install

```sh
agentstack add skill-hhhyyyy99-prot-skills-sync-agent-skills
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Sync Agent Skills

Use `.agents/skills` as the only maintained source for repository skills.

## Workflow

1. Read `.agents/skills/README.md` to confirm the current loading policy.
2. Put durable repository rules in `.agents/rules/`; put reusable workflows in
   `.agents/skills//SKILL.md`.
3. After adding, removing, renaming, or editing repository skills, run:

   ```sh
   pnpm skills:sync
   ```

4. Verify the bridge with:

   ```sh
   pnpm skills:check
   pnpm vitest run scripts/tests/sync-agent-skills.test.ts
   ```

5. If package scripts or the sync script changed, also run:

   ```sh
   pnpm harness:check:release
   ```

## Safety Rules

- Do not copy skill contents into `.claude/skills`.
- Do not maintain `.claude/skills` by hand except to inspect or remove broken
  local state after the sync script reports a conflict.
- Treat `.agents/skills` as tracked repository source.
- Treat `.claude/skills` as generated local symlinks for Claude.
- Do not overwrite existing non-symlink Claude skills.
- Only remove stale Claude symlinks that point back into this repository's
  `.agents/skills`.

## Expected Bridge

`pnpm skills:sync` creates links shaped like:

```text
.claude/skills/ -> ../../.agents/skills/
```

`pnpm skills:check` should report:

```text
Agent skills are in sync.
```

Restart Claude or Codex sessions after skill changes if the tool does not pick
up the updated skill list.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [hhhyyyy99](https://github.com/hhhyyyy99)
- **Source:** [hhhyyyy99/prot-skills](https://github.com/hhhyyyy99/prot-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-hhhyyyy99-prot-skills-sync-agent-skills
- Seller: https://agentstack.voostack.com/s/hhhyyyy99
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
