securecoder-update
Original:🇺🇸 English
Translated
1 scriptsChecked / no sensitive code detected
Check whether the installed securecoder is current. Reports the installed version + the latest release on GitHub + days since release + release notes URL + the exact install command to upgrade. Read-only — never modifies anything; upgrade is always an explicit user action.
7installs
Added on
NPX Install
npx skill4agent add nerdy-krishna/securecoder securecoder-updateTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →/securecoder-update
/securecoder-updateYou are running the skill. Your job is to surface version-check info to the user — what's installed, what's latest, and how to upgrade if needed. The skill never modifies anything; upgrade remains an explicit user action via .
/securecoder-updatenpx skills@latest add nerdy-krishna/securecoderHow to invoke
/securecoder-updateNo arguments. The skill runs unconditionally and reports the result.
What it does
Run the bundled helper:
bash
python3 "<skill-dir>/scripts/check_version.py"For machine-readable output (useful when piping to another tool):
bash
python3 "<skill-dir>/scripts/check_version.py" --jsonThe helper:
- Reads the file at
VERSION(carried into the install by the skills.sh installer alongside<skill-dir>/VERSION).SKILL.md - Queries .
https://api.github.com/repos/nerdy-krishna/securecoder/releases/latest - Parses both tags as tuples for ordered comparison.
(major, minor, patch) - Compares and reports.
Exit codes
| Exit | Meaning |
|---|---|
| 0 | Up to date — installed matches latest |
| 1 | Update available |
| 2 | Could not determine installed version (VERSION file missing — broken install) |
| 3 | Could not reach the GitHub API (offline, rate-limited, server error) |
Output examples
Up to date
You're up to date.
Installed: v1.1.0
Latest: v1.1.0 (v1.1.0 — False-positive suppression)Update available
Update available.
Installed: v1.0.0
Latest: v1.1.0 (v1.1.0 — False-positive suppression)
Released: 2026-05-14T15:30:00Z (1 days ago)
Notes: https://github.com/nerdy-krishna/securecoder/releases/tag/v1.1.0
To upgrade:
npx skills@latest add nerdy-krishna/securecoder
Your team-shared config (.securecoder/config.json), suppressions
(.securecoder/suppressions.json), and scan history (.securecoder/runs/)
are preserved across upgrades.Offline / API unreachable
Installed: v1.1.0. Could not check for updates (network/API issue).
Try again later or browse https://github.com/nerdy-krishna/securecoder/releases manually.What the upgrade preserves
Tell the user explicitly when reporting an available update (the helper's output already mentions this):
- — team-shared per-project config
.securecoder/config.json - — team-shared false-positive ledger
.securecoder/suppressions.json - — local scan + fix run history
.securecoder/runs/* - — cached SAST binaries (re-checked against pinned versions in the updated skill; only upgraded if pins changed)
~/.cache/securecoder/tools/ - — cached OWASP + Semgrep rule packs (same content-addressed reuse policy)
~/.cache/securecoder/rules/
User data survives upgrades unconditionally. Only the skill files themselves get rewritten.
What this skill does NOT do
- Does NOT upgrade automatically. That's a security boundary — the user always explicitly runs the install command.
- Does NOT modify any file. Read-only; only emits text.
- Does NOT bypass the GitHub API rate limit. Unauthenticated requests are throttled at 60/hour per IP. For frequent check needs, consider running with a env var (set on the host).
GITHUB_TOKEN - Does NOT detect pre-release versions explicitly. The helper only compares against which GitHub filters to non-pre-release entries. Users tracking the
/releases/latestbranch (not a tagged release) won't be notified of every commit.main
When to invoke
- Once a month-ish, as a habit, to know if there's a release worth picking up
- After hearing about a new release on the project's release feed
- When behaves unexpectedly — could be that you're on an older version
/securecoder-scan - Right before running a substantial audit, to make sure you're not missing fixes
Failure modes
- VERSION file missing. Means the install is broken. Recommend re-running .
npx skills@latest add nerdy-krishna/securecoder - GitHub API unreachable. Could be offline, behind a proxy that blocks , or rate-limited. The skill exits cleanly with a hint to retry or browse the releases page manually.
api.github.com - API returns a malformed response. Treated the same as unreachable. The user gets a clear message and exit code 3.
See also
- README — Quickstart
- docs/roadmap.md — v1.2.0 backlog and future work
- CHANGELOG.md — complete release history