vanducng/skills · skills/optimize-loop/SKILL.md

optimize-loop skillB

optimize-loop is agent-read markdown (skill) from vanducng/skills: Autonomous metric-optimization loop - run N bounded iterations against a mechanical metric, commit each attempt, auto keep/discard on the number, revert regressions. Use to improve a measurable metric: test coverage, bundle size, lint/type-error count, p95 latency, LOC. Triggers: 'drive coverage up', 'reduce bundle size', 'get lint errors to zero', 'optimize <metric> over iterations', 'keep/discard loop'..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

How to install

Latest version
mdr add vanducng/skills/optimize-loop@v0.2.0
Exact content
mdr add vanducng/skills/optimize-loop@sha256:a1de089be6959056

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

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

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v0.2.0 latest2026-09-11 9e58ef3 5,298 BB view · diff
v0.1.02026-08-19 204f73f 7,646 BB view · diff
v0.1.02026-07-24 51405ee 7,648 BB view · diff
v0.1.02026-07-10 6f1e7cf 7,691 BB view · diff
v0.1.02026-05-31 8556db2 7,628 BB view

Audit of the latest version

B  16 of 17 checks passed. Deterministic, no model, 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 (5298 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

Source

GitHub

vanducng/skills · 7 stars · license MIT · pushed 2026-09-13 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_x6fntccvnyo3hh72
GET https://markdownregistry.com/api/v1/resolve?ref=vanducng/skills/optimize-loop
GET https://markdownregistry.com/api/v1/blob/a1de089be6959056321825807629be1d2bf423e94b8f21f6c10f85b4d1082742