
Aptly
Guides an agent through maintaining sorah's aptly-managed APT repositories and their
Aptly is an open-source agent skill for cloud and infrastructure. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 31
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Aptly
This skill covers the day-to-day upkeep of two APT repositories, nkmideb and sorah-ruby, which share one local aptly database and are published to an S3 bucket. It documents the target table with endpoints, signing keys and publish flags, and lists the bin/sorah-aptly-* scripts for finding, adding, removing and republishing packages, along with dry-run guidance for anything destructive.
The skill sets out rules for the workflow: AWS credentials are needed only for S3 publish operations and are supplied through a wrapper command, signing relies on gpg-agent, and removing packages only drops references until a database cleanup runs. It also explains aptly package query syntax and common gotchas such as argument order for publish commands and single-process database locking.
It expects a shell environment with the repository's scripts on PATH, aptly, gpg and access to the S3 publish endpoints. Coverage is specific to this one maintainer's setup rather than general APT usage.
When your agent uses it
Maintain sorah's aptly-managed APT repositories (nkmideb and sorah-ruby, published to the sorah-pkg S3 bucket) with the bin/sorah-aptly-* scripts. Use whenever the user wants to add or upload .deb/.dsc packages to a distro, publish or re-publish (publish update), add support for a new Debian/Ubuntu release (e.g. forky, resolute), remove or yank a broken package version, find which distros carry a package, or anything mentioning aptly, nkmideb, sorah-ruby apt repo, rbpkg, ~/.aptly, or "publish to the apt repo", even if they don't say "aptly".
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (6 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/aptly to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/aptly &&
cp -R "$tmp/.claude/skills/aptly" ~/.claude/skills/aptly &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/aptly inside it instead.
Copy the skill folder to ~/.agents/skills/aptly to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/aptly &&
cp -R "$tmp/.claude/skills/aptly" ~/.agents/skills/aptly &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/aptly inside it instead.
Copy the skill folder to ~/.cursor/skills/aptly to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/aptly &&
cp -R "$tmp/.claude/skills/aptly" ~/.cursor/skills/aptly &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/aptly inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/sorah/config.git --path .claude/skills/aptlyOr copy the folder to ~/.gemini/skills/aptly yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/aptly:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/aptly &&
cp -R "$tmp/.claude/skills/aptly" ~/.copilot/skills/aptly &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/aptly inside it instead.
Get the folder:
git clone --depth 1 https://github.com/sorah/config.gitThen copy config/.claude/skills/aptly into your agent's skills folder as aptly. Agents that support SKILL.md read one folder per skill.
What it does
- Repository target reference
- Lists both publish targets with their repos, S3 endpoints, signing keys and extra flags.
- Package add and remove
- Adds .deb or .dsc files by distro suffix and removes matching packages from repos.
- Package query guidance
- Explains aptly query syntax for matching by name, exact version, glob, source or architecture.
- Publish and republish
- Runs publish updates for selected distros and handles new distro creation.
- Safe dry-run workflow
- Previews aptly commands before any change that removes packages or touches many distros.
- Credential and signing notes
- Covers when AWS credentials are needed and how gpg signing prompts are handled.
Good for
- Upload a newly built .deb to the noble repository
- Find which distros carry a given package version
- Yank a broken package version from all repos
- Add support for a new Debian release such as forky
- Republish the nkmideb repository after a change
Aptly FAQ
When does Aptly trigger?
When the user wants to add or upload packages to a distro, publish or re-publish, add a new Debian or Ubuntu release, remove or yank a package, find which distros carry a package, or mentions aptly, nkmideb, sorah-ruby or the apt repo.
Does Aptly need AWS credentials?
Only for S3 operations such as publish repo, publish update, publish drop, and add or remove with the publish flag. Local find, add and remove without publishing need no credentials.
Does removing a package delete its files?
No. Removing drops references only; pool files stay until aptly db cleanup is run.
Which clients does Aptly work with?
The skill is a plain SKILL.md folder, so it follows the shared agent skills format and is not tied to a specific client in its content.
How do I install Aptly in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/aptly to use it in all your projects, or to .claude/skills/aptly in one project.
Does Aptly run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Aptly?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Aptly?
The closest alternatives to Aptly are Ansible knowledge patch and Runpod companion clis.
Where this comes from
- Description: from the skill's own SKILL.md.
More from sorah/config

Runs a chief-of-staff session that watches your coding agents and keeps work on track
- Open source
- 31 GitHub stars
- Developer tools

Applies language-agnostic coding conventions to code writing and review
- Open source
- 31 GitHub stars
- Developer tools

Guides the agent to write git commit messages and PR titles in a concise house style
- Open source
- 31 GitHub stars
- Developer tools

Guides an agent through building and testing Rails apps on Aurora DSQL
- Open source
- 31 GitHub stars
- Developer tools

Writes English text in the author's terse, direct technical voice for GitHub and email
- Open source
- 31 GitHub stars
- Developer tools

Guides an agent through writing and reviewing secure GitHub Actions CI and release
- Open source
- 31 GitHub stars
- Developer tools





