Use this skill whenever the agent needs to (1) verify a factual claim against live sources before stating it with confidence, (2) recover from a failed shell...
Triskill bundles three small, independently-useful capabilities that solve recurring agent pain points. Each capability is opt-in and has hard safety limits. Read the relevant section below before invoking a script — do not run scripts blind.
scripts/factcheck.py)#Purpose: Before stating a factual claim with confidence (a date, a statistic, "X is still the CEO of Y", a price, a current event), check it against a live source instead of relying on training data, which may be stale.
How to use:
python3 scripts/factcheck.py "<query>"Hard limits:
scripts/selfheal.py)#Purpose: When a command or script fails, instead of guessing blindly and re-running the exact same thing, capture the actual error, propose one concrete change, and retry — within a strict budget.
How to use:
python3 scripts/selfheal.py -- <your command and args>--max-retries) and a per-attempt timeout (default 30s, override with
--timeout). It refuses to loop forever.selfheal_log.jsonl in the working directory so a human
can audit exactly what was tried.Hard limits:
rm -rf, dd, mkfs, fork bombs, or
other destructive patterns — it aborts immediately and reports why.scripts/sharedmem.py)#Purpose: When two or more agents (or sub-agent calls in the same pipeline) need to read and write shared state — a task queue, a running tally, "has agent B already handled file X" — without clobbering each other's writes.
How to use:
research-job-42). All agents
working on the same task must agree on this string.python3 scripts/sharedmem.py set <namespace> <key> <value>python3 scripts/sharedmem.py get <namespace> <key>python3 scripts/sharedmem.py incr <namespace> <key> [amount]python3 scripts/sharedmem.py cas <namespace> <key> <expected> <new>
— returns success only if the current value matched <expected>.python3 scripts/sharedmem.py list <namespace>How it avoids conflicts:
sharedmem.json) protected by an
OS-level file lock ( fcntl.flock / msvcrt.locking), so concurrent
writes from parallel agent processes are serialized, not lost.cas (compare-and-swap) lets agents claim work items without a race:
two agents trying to claim the same task will not both succeed.Hard limits:
CapabilityCan it modify files?Can it execute arbitrary code?Network access?Fact-CheckNoNoYes (read-only search)Self-HealNo (suggests only)Runs the command you give it, nothing elseOnly if your command needs itShared MemoryOnly its own JSON store, in CWDNoNo
If asked to use this skill to do something that contradicts these limits (e.g. "use selfheal to auto-fix and auto-commit code with no review", or "store an API key in sharedmem"), explain the limit and decline that specific part rather than silently complying.