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 skills add NickoScope/nickol-knx-mcp --skill ha-git-backupgit clone --depth 1 https://github.com/NickoScope/nickol-knx-mcpWrote 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/nickoscope/nickol-knx-mcp/ha-git-backup)<a href="https://agentmods.dev/skills/nickoscope/nickol-knx-mcp/ha-git-backup"><img src="https://agentmods.dev/badge/skills/nickoscope/nickol-knx-mcp/ha-git-backup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nickoscope/nickol-knx-mcp/ha-git-backup"><img src="https://agentmods.dev/badge/skills/nickoscope/nickol-knx-mcp/ha-git-backup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 10 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Tool Misuse · line 70 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
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.00187 | $0.01772 |
| Opus 5 | $0.00093 | $0.00886 |
| Sonnet 5 | $0.00037 | $0.00354 |
| Haiku 4.5 | $0.00019 | $0.00177 |
Grade A, and why
ha-git-backup scanned grade A with 0 findings 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 10d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HA Git Backup — a two-circuit system
Philosophy: git gives you history, a backup gives you recovery. These are different jobs — different circuits solve them. Projects like GithubConfigSync mix the two and implement git on top of the Contents API — we use real git.
Architecture
CIRCUIT 1: CONFIG HISTORY (what changed and when)
/config (git repo) ──deploy key──▶ GitHub private repo (ha-config)
├── triggers: daily 03:30 / pre-update / button / HA restart
├── secret protection: .gitignore → pre-commit scan → age mirror
└── commit: "[trigger] N files | HA 2026.7.1" + file list
CIRCUIT 2: RECOVERY (full state, including .storage)
HA native backup (.tar) ──age──▶ GitHub Releases (ha-config)
├── schedule: weekly + before updates
├── rotation: 8 releases
└── restore drill: 1st of the month (mandatory)
The 3-2-1 rule: the config lives (1) on the HA host, (2) in the GitHub git repo, (3) as a full tarball in Releases — plus a local NAS copy if you have one.
IRON RULES
- Deploy key, not a PAT. Fine-grained WRITE access to ONE repository. A classic token with
the
reposcope = access to all your private repos → forbidden. - A secret in the diff blocks the commit. The pre-commit hook runs
secret_scan.sh. Bypassing with--no-verify— only deliberately, with the reason logged. .storage/does NOT go to git (auth, tokens), except thelovelace*whitelist — dashboards. The full.storagelives only in the encrypted Circuit-2 tarball.- A backup without a restore drill is not a backup. Monthly: download the release →
age -d→tar -t→ verify.storage/core.config_entriesis inside. - Do not rewrite the scripts from scratch. The logic (lock, retry, notify, rotation) is
already in
scripts/— read and use them.
Quick start (fresh install)
- Create an empty private repo
ha-configon GitHub. - Read
references/setup.md— step by step: deploy key, install via the SSH add-on. - Run
scripts/install.shinside HA — it does git init, .gitignore, hook, remote, first dry-run. - Add the contents of
assets/configuration_snippet.yamlto configuration.yaml andassets/automations.yamlto your automations. A full HA restart is required (shell_commandandcommand_lineare NOT loaded by a quick reload). - Circuit 2:
scripts/backup_offsite.shneeds a fine-grained PAT + an age key. Seereferences/setup.md§4. - Run the first restore drill IMMEDIATELY — before the system is ever needed.
What ships with it
14 files 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.
- assets/automations.yaml 1.9 KB
- assets/configuration_snippet.yaml 815 B
- assets/gitignore.template 784 B
- README.md 2.0 KB
- references/architecture.md 2.5 KB
- references/incident-secret-leak.md 1.4 KB
- references/restore-runbook.md 1.8 KB
- references/setup.md 2.8 KB
- scripts/backup_offsite.sh 2.7 KB runs code
- scripts/ha_git_sync.sh 2.3 KB runs code
- scripts/install.sh 2.8 KB runs code
- scripts/restore.sh 1.6 KB runs code
- scripts/secret_scan.sh 2.1 KB runs code
- SKILL.ru.md 7.0 KB
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.
- 10d ago First seen · 111 lines · 187 tokens per session scan A f31df7170269
ha-git-backup is a skill published in the GitHub repository NickoScope/nickol-knx-mcp (23 stars, last pushed today), licensed MIT. It adds 187 tokens to every session and 1,772 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
contributors-update
Find merged PR authors missing from README and update the contributors list after approval.
issue-to-pr-resolver
Implement a GitHub issue end-to-end — create a worktree branch, implement the feature with tests, create a draft PR, then iteratively resolve all CI failures and review comments until the PR is clean. Use when you need to fully implement a GitHub issue from start to merge-ready. Triggers on "implement issue", "resolve…
my-pr-checker
Manage your own GitHub pull requests — check CI status, inline review comments, PR-level comments, resolve review threads, fix issues, and iterate until all checks pass and threads are resolved. Use for managing your own PRs (not external contributions). Triggers on "check my PR", "check PR", "/my-pr-checker ".
wt
Create a git worktree in worktree/ subdirectory with up-to-date master.
bat-story-eval
Compare MCP tool behavior between target and baseline versions using pre-built and custom stories with diff-based triage.
contrib-pr-review
Review a contribution PR for safety, quality, and readiness. Checks for security concerns, test coverage, size appropriateness, and intent alignment. Use when reviewing external contributions.