self-test SKILL.md skillB

self-test from choiyounggi/groundwork is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add choiyounggi/groundwork/self-test@git:20260823.129b300

Pins git:20260823.129b300 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
choiyounggi/groundwork
Path
plugins/guardrails/skills/self-test/SKILL.md
Versions recorded
2
Latest version
git:20260823.129b300, committed Aug 23, 2026
First version recorded
Jul 13, 2026
Size
1,134 bytes
Repository stars
4
License
MIT

Prove the guardrails Bash guard is live — runs a simulation that feeds representative dangerous commands (curl|sh, rm -rf, DROP TABLE, kubectl delete, cloud deletes, …) through the real guard and shows the block/ask decision for each, WITHOUT executing any of them. Use when asked to verify the guard is working, or right after installing guardrails.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# guardrails: self-test

Run the bundled self-test to show the guard is active. It injects dangerous
command **strings** into the guard as hook data and prints each decision — it does
**not** execute any command.

## Do this

1. Run:
   ```bash
   bash "${CLAUDE_PLUGIN_ROOT}/scripts/self-test.sh"
   ```
2. Show the user the output table verbatim.
3. Summarize: block-tier commands were denied, ask-tier would prompt, harmless
   commands passed — and **nothing was executed**.

## Hard rule
Never run any of the dangerous example commands yourself. The whole point is that
they travel through the guard as data, never to a real shell. If the script exits
non-zero, report which case mismatched — do not "fix" it by running commands.

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add choiyounggi/groundwork/self-test@sha256:bd99a501fe8207fc

The line at the top of this page pins the label git:20260823.129b300, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_5fagazilbbmvqgme.svg)](https://markdownregistry.com/a/art_5fagazilbbmvqgme)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Jul 13, 2026 and Aug 23, 2026, about one every 41 days.

versioncommittedcommitsizeaudit
git:20260823.129b300 latest2026-08-23 129b300 1,134 BB view · diff
git:20260713.6f2bddc2026-07-13 6f2bddc 1,172 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No curl or wget piped into a shell (matched: curl|sh)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1134 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

choiyounggi/groundwork · 4 stars · license MIT · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_5fagazilbbmvqgme
GET https://markdownregistry.com/api/v1/resolve?ref=choiyounggi/groundwork/self-test
GET https://markdownregistry.com/api/v1/blob/bd99a501fe8207fc6dae97b626e5e171f5cdfae72ebb23ddcb7b0042ea4544c7

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from choiyounggi/groundwork

archive SKILL.md skill
choiyounggi/groundwork · plugins/file-lifecycle/skills/archive/SKILL.md · Keep a file past the end of the session — find an existing archived file first, then archive the new one with a dated…
git:20261022.b5651eb · audit A · 4 stars
consolidate SKILL.md skill
choiyounggi/groundwork · plugins/memory-loop/skills/consolidate/SKILL.md · Periodically merge the memory index, long-tier memory files, and the habit file — deduplicate, resolve contradictions…
git:20260922.1046286 · audit A · 4 stars
habit SKILL.md skill
choiyounggi/groundwork · plugins/memory-loop/skills/habit/SKILL.md · Distill a lesson — a mistake, a user correction, or a praised behavior — into HABITS.md as a positive practice or a…
git:20261022.1560845 · audit A · 4 stars
identity SKILL.md skill
choiyounggi/groundwork · plugins/memory-loop/skills/identity/SKILL.md · Set, change, or decline the user/assistant names that memory-loop injects at session start. Use when the user wants to…
git:20260714.636a4cc · audit A · 4 stars
remember SKILL.md skill
choiyounggi/groundwork · plugins/memory-loop/skills/remember/SKILL.md · Save gate for persistent memories — confirm tier (long/short) and expiry with the user before writing, so hallucinated…
git:20261022.1560845 · audit A · 4 stars
setup SKILL.md skill
choiyounggi/groundwork · plugins/memory-loop/skills/setup/SKILL.md · First-time memory-loop setup — offer identity names, create HABITS.md and OUTPUT.md from the templates, wire their…
git:20260929.6ecf6e7 · audit A · 4 stars
tutor SKILL.md skill
choiyounggi/groundwork · plugins/memory-loop/skills/tutor/SKILL.md · Run a spaced-repetition self-quiz over lessons already distilled into HABITS.md — one novel-scenario transfer question…
git:20260823.129b300 · audit A · 4 stars

Every file in choiyounggi/groundwork

Browse by kind, by grade B, or by owner.