Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/sfc-gh-eraigosa/dotfiles/ssh-key-syncnpx skills add sfc-gh-eraigosa/dotfiles --skill ssh-key-syncgit clone --depth 1 https://github.com/sfc-gh-eraigosa/dotfilesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sfc-gh-eraigosa/dotfiles/ssh-key-sync)<a href="https://agentmods.dev/skills/sfc-gh-eraigosa/dotfiles/ssh-key-sync"><img src="https://agentmods.dev/badge/skills/sfc-gh-eraigosa/dotfiles/ssh-key-sync.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00023 | $0.00529 |
| Opus 5 | $0.00012 | $0.00264 |
| Sonnet 5 | $0.00005 | $0.00106 |
| Haiku 4.5 | $0.00002 | $0.00053 |
Grade B, and why
ssh-key-sync scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reaches for credential filesmediumPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
- **Authorize keys**: Appends the new public key to `~/.ssh/authorized_keys` on the local machine and remote hosts. Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SSH Key Sync Skill
This skill allows for managing SSH keys across a network, including generation, synchronization, status reporting, and secure deletion.
Capabilities
1. Generate and Sync Keys
- Generate a new key pair: Automatically creates a new Ed25519 key with a unique name.
- Optional Distribute: Copies the new private/public keys to all hosts in
~/.ssh/configunless--no-syncis specified. - Authorize keys: Appends the new public key to
~/.ssh/authorized_keyson the local machine and remote hosts. - Sync Config: Ensures the
~/.ssh/configfile is consistent across all hosts during synchronization.
2. List Key Status
- Management Table: Generates a table showing all managed keys, their types, and which hosts (local/remote) have them authorized.
3. Delete/Cleanup Keys
- Secure Deletion: Removes specified keys from the local machine and all remote hosts.
- Revoke Authorization: Automatically removes the public key entries from
authorized_keysfiles locally and remotely to ensure the keys can no longer be used.
Usage
Direct Execution
You can run the script directly:
# Generate and sync to all hosts
~/git/dotfiles/src/ssh-key-sync/ssh-key-sync.sh <key_name>
# Generate locally only
~/git/dotfiles/src/ssh-key-sync/ssh-key-sync.sh --no-sync <key_name>
# List all keys and their sync status
~/git/dotfiles/src/ssh-key-sync/ssh-key-sync.sh --list
# Delete one or more keys
~/git/dotfiles/src/ssh-key-sync/ssh-key-sync.sh --delete <key_name1> <key_name2>
Natural Language Instructions
- "Show me a table of all my SSH keys."
- "Generate a new key called 'temp-key' and sync it."
- "Clean up the test keys 'id_ed25519_new' and 'local_test_key' across all my hosts."
Workflow
- Research: The skill identifies the user's intent (generate, sync, list, or delete).
- Action: It executes
ssh-key-sync.shwith the appropriate flags and key names. - Verification: It confirms the success of the requested management action.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 51 lines · 23 tokens per session scan B 32d44f186459
ssh-key-sync is a skill published in the GitHub repository sfc-gh-eraigosa/dotfiles (46 stars, last pushed today), licensed Apache-2.0. It adds 23 tokens to every session and 529 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
review-pr
Review and merge GitHub pull requests for Spatie packages. Use when asked to review a PR, review a pull request, merge a PR, or when given a GitHub PR URL to review. Also triggers on 'review this PR,' 'check this pull request,' 'merge this,' or '/review-pr'. Uses gh CLI for all GitHub operations.
git-commit
This skill should be used BEFORE running any git commit command. Triggers when about to run git commit. Ensures commit messages follow Conventional Commits specification and prompts for the Jira ticket number.
gh-cli
../../../.claude/skills/gh-cli/SKILL.md.
gh-pr
../../../.claude/skills/gh-pr/SKILL.md.
churn-prevention
When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause…
marketing-psychology
When the user wants to apply psychological principles, mental models, or behavioral science to marketing. Also use when the user mentions 'psychology,' 'mental models,' 'cognitive bias,' 'persuasion,' 'behavioral science,' 'why people buy,' 'decision-making,' or 'consumer behavior.' This skill provides 70+ mental…