Agent Skillsopen-gitagent/opengap › narco-check

narco-check

GitHub

记忆完整性审计技能,通过执行系统命令和检查文件状态来检测AI幻觉、循环确认及状态污染。在连续失败或夜间自动触发,确保系统真实状态与记忆一致。

examples/jason-my-claw-is-the-law-deebee-4567b4/skills/narco-check/SKILL.md open-gitagent/opengap

Trigger Scenarios

同一任务或工具连续两次失败 每日凌晨3点深度审计

Install

npx skills add open-gitagent/opengap --skill narco-check -g -y
More Options

Non-standard path

npx skills add https://github.com/open-gitagent/opengap/tree/main/examples/jason-my-claw-is-the-law-deebee-4567b4/skills/narco-check -g -y

Use without installing

npx skills use open-gitagent/opengap@narco-check

指定 Agent (Claude Code)

npx skills add open-gitagent/opengap --skill narco-check -a claude-code -g -y

安装 repo 全部 skill

npx skills add open-gitagent/opengap --all -g -y

预览 repo 内 skill

npx skills add open-gitagent/opengap --list

SKILL.md

Frontmatter
{
    "name": "narco-check",
    "version": "1.0.0",
    "description": "Memory integrity audit. Detects hallucinations, circular confirmations, and state poisoning. Runs automatically after 2 consecutive failures or at nightly deep dive. Uses Opus 4.6 as the auditor model."
}

Narco-Check — Memory Integrity Audit

When This Runs

  1. Failure trigger: 2 consecutive failures on the same task or tool
  2. End-of-day trigger: Nightly deep dive audit (~3 AM)

Audit Model

Must use openrouter/anthropic/claude-opus-4.6. Never run narco-check on a tier-0 or tier-1 model.

openclaw agent --model openrouter/anthropic/claude-opus-4.6 \
  --message "$(cat ~/.openclaw/workspace/skills/narco-check/audit-prompt.md)" \
  --mode now

5-4-3-2-1 Grounding Check

Run this first — before reading any logs. Anchors the audit in real system state.

5 — Run five commands, paste raw output verbatim:

date
hostname
df -h /
docker ps --format "table {{.Names}}\t{{.Status}}"
cat ~/.openclaw/workspace/HEARTBEAT.md | head -3

4 — Confirm four workspace files exist, paste first line:

head -1 ~/.openclaw/workspace/IDENTITY.md
head -1 ~/.openclaw/workspace/SOUL.md
head -1 ~/.openclaw/workspace/MEMORY.md
head -1 ~/.openclaw/workspace/HEARTBEAT.md

3 — Ping three endpoints, report HTTP codes:

curl -s -o /dev/null -w "%{http_code}" http://localhost:18789/health
curl -s -o /dev/null -w "%{http_code}" --max-time 5 https://geniewars.com
curl -s -o /dev/null -w "%{http_code}" --max-time 5 https://siliconchimps.com

2 — Run one Exa search, paste first real result:

~/.openclaw/workspace/skills/exa-search/exa.sh "$(date +%Y) advance reader community" 2

1 — State one provable fact:

GROUNDED: [claim] — verified by [command] — output: [exact output]

A grounded check with failures is valid. A grounded check with fabricated output is POISONED.

Audit States

  • CLEAN — no failures, no audit triggered
  • DEGRADED — issues found, state acceptable, resumed with different approach
  • POISONED — contaminated entries found, stop and notify Ludo

If POISONED: mark affected MEMORY.md entries [QUARANTINE YYYY-MM-DD], notify Ludo via Slack DM before proceeding.

Version History

  • d7a8e2e Current 2026-07-25 08:12

Same Skill Collection

examples/full/skills/document-review/SKILL.md
examples/full/skills/regulatory-analysis/SKILL.md
examples/gitagent-helper/skills/create-agent/SKILL.md
examples/gitagent-helper/skills/export-agent/SKILL.md
examples/gitagent-helper/skills/get-started/SKILL.md
examples/gitagent-helper/skills/manage-skills/SKILL.md
examples/gitagent-helper/skills/run-agent/SKILL.md
examples/jason-my-claw-is-the-law-deebee-4567b4/skills/compute-ladder/SKILL.md
examples/jason-my-claw-is-the-law-deebee-4567b4/skills/packet-factory/SKILL.md
examples/llm-wiki/skills/wiki-ingest/SKILL.md
examples/llm-wiki/skills/wiki-lint/SKILL.md
examples/llm-wiki/skills/wiki-query/SKILL.md
examples/lyzr-agent/skills/research/SKILL.md
examples/nvidia-deep-researcher/skills/knowledge-retrieval/SKILL.md
examples/nvidia-deep-researcher/skills/paper-search/SKILL.md
examples/nvidia-deep-researcher/skills/web-search/SKILL.md
examples/standard/skills/code-review/SKILL.md

Metadata

Files
0
Version
d7a8e2e
Hash
0800f2da
Indexed
2026-07-25 08:12

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 06:54
浙ICP备14020137号-1 $mapa de visitantes$