# Skillctx Sync

> >

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

## Install

```sh
agentstack add skill-jackchuka-skillctx-skillctx-sync
```

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

## About

# skillctx-sync

Update embedded `skillctx-resolve.py` scripts across all migrated skills.

## When to Use

- After updating the skillctx repo (bug fix in resolve.py, new features)
- User says "skillctx-sync", "update skillctx", or "sync skillctx"

## Prerequisites

- Python 3.10+
- Skills must be installed and discoverable by the agent host

## Workflow

1. **Read current version**: Run `python /scripts/sync.py` with `--help` to verify the script is available. Read `pyproject.toml` in the skillctx repo root for the current version string.

2. **Scan for migrated skills**: Run `python /scripts/sync.py scan  ` where `` is the directory containing installed skills. The script outputs JSON:

   ```json
   [
     { "skill": "my-skill", "path": "/path/to/my-skill", "version": "0.1.0", "status": "outdated" },
     { "skill": "other-skill", "path": "/path/to/other-skill", "version": "0.2.0", "status": "current" }
   ]
   ```

   Only skills with `` in their SKILL.md are included.

3. **Present outdated skills to user**: Filter the scan results to `"status": "outdated"` and show:

   ```
   Skills with outdated skillctx resolver:
   - my-skill (v0.1.0 → v0.2.0)
   - another-skill (v0.1.0 → v0.2.0)

   Update all? (yes/select/cancel)
   ```

   Wait for user confirmation.

4. **Update each selected skill**: For each skill the user approves, run:

   ```
   python /scripts/sync.py update   
   ```

   Where `` is `skills/skillctx-ify/scripts/resolve.py` (the canonical resolver in this repo). The script:
   - Copies the resolver to `/scripts/skillctx-resolve.py`
   - Replaces the `` ... `` block with the latest setup template
   - Updates `metadata.skillctx.version` in the skill's frontmatter

5. **Report** what was updated and any errors.

## Error Handling

| Error | Action |
|-------|--------|
| No migrated skills found | Report "no skills using skillctx found" |
| All skills already current | Report "all skills up to date" |
| Skill directory not writable | Warn and skip, list at the end |
| Missing `` marker | Warn — setup block may be malformed. Skip and list for manual review. |

## Source & license

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

- **Author:** [jackchuka](https://github.com/jackchuka)
- **Source:** [jackchuka/skillctx](https://github.com/jackchuka/skillctx)
- **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-jackchuka-skillctx-skillctx-sync
- Seller: https://agentstack.voostack.com/s/jackchuka
- 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%.
