설치
npx -y @deepseek-ai/dsh plugin --profile web add github:AmethystLuna/logicprobe이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.
README
유지 관리자가 작성한 문서 스냅샷입니다.
Logic Probe
Design documents are not truth — code is. A claim-verification skill that checks every verifiable claim in design docs, architecture specs, and refactoring plans against the actual codebase — and escalates to executable-model verification for behavioral claims. v0.3.0.
Cross-platform — works with Claude Code, Codex CLI, Cursor, Kimi CLI, OpenCode, and ZCode. Built on the Agent Skills open standard.
What It Does
| Phase | What |
|---|---|
| Phase 1-2 | Enumerate every verifiable claim (API names, file paths, enum values, counts, mechanism feasibility) → verify each against the codebase with evidence |
| Phase 2a | 7 structural checks on extracted state-machine models: reachability, deadlock, liveness, determinism, event/guard completeness, invariant validity |
| Phase 2b | 7 adversarial probes: unexpected events, race interleaving, order permutation, pair symmetry (lock/unlock), boundary blast, resource injection, minimal counter-example |
| Refactoring | Before/after model comparison — behavioral preservation, invariant continuity, deadlock regression, complexity claims |
| Output | Structured findings with exact file:line evidence, severity classification, correction direction — never inline fixes |
The model is always shown as a transition table and confirmed with the user before running — extraction errors are the dominant failure mode.
Installation
Marketplace install (recommended)
Add the marketplace to ~/.claude/settings.json:
{
"extraKnownMarketplaces": {
"logicprobe": {
"source": { "source": "github", "repo": "AmethystLuna/logicprobe" }
}
}
}
Then install from CLI:
claude plugin install logicprobe@logicprobe
Manual install
git clone https://github.com/AmethystLuna/logicprobe.git ~/.claude/plugins/dev/logicprobe
Then enable in ~/.claude/settings.json:
{
"enabledPlugins": {
"logicprobe@dev": true
}
}
DeepSeek Harness (dsh)
Native dsh support ships as a cordis plugin bundle at the repository root (the root package.json declares dsh.bundle):
- The skill is discovered as-is by dsh's
skill-filesystemprovider (Agent Skills open standard) — zero code. - The bundle injects the claim-verification gate (1% Rule / Red Flags / proactive suggestion) into the first model step of every agent session — the dsh-native counterpart of the Claude
SessionStarthook. It also registers a model-visible catalog entry (cordis_inspect), a nativelogicprobe_verifytool (ctx.tools), and a policy-awarelogicprobe:modecontext (ctx.systemPrompt). - Together with the embedded-workbench bundle's Plan Verification Gate, this closes the claim-verification loop in dsh.
Install: see .dsh/INSTALL.md (four options, from plain skill copy to dsh plugin add).
DSH install note: the package name is scoped as
@amethystluna/logicprobe. In the web profile'spackage.json, both the dependency key and thedsh.profile.bundlesentry must use the scoped name; the old unscoped name causes the dsh loader to fail withERR_MODULE_NOT_FOUND.
Usage
The plugin auto-injects a capability notification into the first model step. The skill activates when its Use when description matches your task:
- Design doc / plan review — "Review this design document" → claim enumeration and codebase verification
- Behavioral questions — "could this state machine deadlock", "is this retry limit safe", "check this timing for bugs" → the skill is proactively suggested (not auto-loaded) as an optional verification pass
- Refactoring plans — the pipeline compares before/after models to flag undocumented behavioral changes
The skill auto-classifies depth (LIGHTWEIGHT / STANDARD / ESCALATED) from plan features in Phase 0, and appends a ## Plan Verification summary block as the audit trail.
In DSH, prefer the native logicprobe_verify tool (see skills/logicprobe/references/dsh-model-schema.md). Python remains optional for non-DSH hosts: when available, the reusable harness at references/verification-harness.py runs the checks; when not (air-gapped machines), the guide at references/logic-verification-guide.md provides a manual verification mode.
Codex CLI
This plugin also supports OpenAI Codex CLI. Skills follow the Agent Skills standard and work identically across both platforms.
Codex install
# Add as a marketplace
codex plugin marketplace add AmethystLuna/logicprobe
# Install
codex plugin install logicprobe
Or manually:
git clone https://github.com/AmethystLuna/logicprobe.git ~/.codex/plugins/logicprobe
Skills are invoked with $logicprobe or auto-selected by Codex based on task context.
Cursor
Cursor 2.5+ has built-in plugin support.
Cursor install
# Clone to Cursor plugins directory
git clone https://github.com/AmethystLuna/logicprobe.git ~/.cursor/plugins/logicprobe
Or install from the Cursor plugin marketplace UI: /add-plugin AmethystLuna/logicprobe
Kimi CLI
Kimi CLI discovers skills from .claude/skills/ paths automatically. The .kimi-plugin/plugin.json manifest registers the plugin for Kimi's plugin manager.
Kimi install
# Via Kimi plugin manager
/plugins install https://github.com/AmethystLuna/logicprobe.git
# Or clone manually
git clone https://github.com/AmethystLuna/logicprobe.git ~/.kimi/plugins/logicprobe
Skills are invoked with /skill:logicprobe.
OpenCode
Skills are auto-discovered from .claude/skills/ and .codex/skills/ paths. Add to your opencode.json:
{
"plugin": ["logicprobe@git+https://github.com/AmethystLuna/logicprobe.git"]
}
Or install via skop which consumes the Claude marketplace manifest. See .opencode/INSTALL.md for detailed instructions.
ZCode (Z.AI)
ZCode 3.0+ follows the Agent Skills standard. No plugin marketplace — manually copy skills to .zcode/skills/:
git clone https://github.com/AmethystLuna/logicprobe.git
cp -r logicprobe/skills/* .zcode/skills/
Skills are invoked with $logicprobe. See .zcode/INSTALL.md for details.
Requirements
- Claude Code v2.1+ / Codex CLI latest / Cursor 2.5+ / Kimi CLI latest / OpenCode latest / ZCode 3.0+
- DeepSeek Harness (dsh): dev preview — verified on mainline 2026-08-14 (gate bundle loaded and injected in-session)
- Python 3.6+ optional (only for the automated harness; manual fallback mode requires none)
Configuration
In DeepSeek Harness, the bundle registers the logicprobe_verify tool (through ctx.tools) and a policy-aware logicprobe:mode context (through ctx.systemPrompt). The bundle accepts a small configuration object:
| Key | Type | Default | Description |
|---|---|---|---|
enabled | boolean | true | Set to false to disable the session-start gate injection. |
gateContent | string | built-in gate text | Override the text injected into the first model step. |
interaction | ask | auto | follow-approval | follow-approval | Model-confirmation policy. follow-approval resolves to auto when the session approval policy is never. |
To change it, override the row by id in your profile's cordis.patch.yml:
- insert:
- id: logicprobe
name: '@amethystluna/logicprobe'
config:
enabled: true
interaction: follow-approval
gateContent: |
...
Uninstall
- If you installed through the DSH plugin manager, remove the
logicprobeplugin from the target profile using the same manager you used to install it. - If you copied
skills/*manually, delete the copied skill directories from~/.agents/skills/or the project.dsh/skills/. - If you added the bundle as a
cordis.patch.ymlrow, remove the row withid: logicprobefrom the profile patch and restart DSH.
Permissions & Data
- The plugin runtime reads only the
skills/directory shipped inside the package, in order to register skills through DSH's standard filesystem skill provider. - It injects the configured gate text into the first model step of a session.
- It does not read credentials, open network connections, or access user data outside the DSH session context.
- When the skill is actually used, the model may read project files as directed by the user, just like any other coding skill.
Troubleshooting
- Skill not visible in DSH: confirm you are on a DSH version that supports
ctx.skills/Agent Skills discovery, and restart the profile after install. - Gate not injected: check that
enabledis notfalseand that the row idlogicprobeis present in the active profile patch. logicprobe_verifynot visible: checkcordis_inspect_querystatus fortoolRegistered: true, and confirm the DSH profile resolved the@deepseek-ai/dsh-toolspeer dependency.- Plugin manager rejects installation: make sure
@deepseek-ai/*packages are declared aspeerDependencies, not regulardependencies. - After manual copy, DSH still doesn't see the skill: use the native bundle install (
dsh plugin add "github:AmethystLuna/logicprobe") instead of copying.
Development
npm install
npm run typecheck
npm run build
Trigger tests are under tests/skill-triggering/; run them with:
bash tests/skill-triggering/run-all.sh
License & Security
Licensed under MIT. See LICENSE.
To report a security vulnerability, do not open a public issue. Use the private Security Advisory path or the contact method in SECURITY.md.
Related Plugins
| Plugin | Description |
|---|---|
| embedded-workbench | Embedded C/C++ toolbox whose Plan Verification Gate uses this skill. This plugin was split out of embedded-workbench v0.6.0. |
Acknowledgments
The claim-verification methodology (logic primitives, adversarial probing, refactoring before/after comparison) and the trigger test framework (tests/skill-triggering/) follow the conventions of Superpowers by Jesse Vincent (MIT License), as adapted in the embedded-workbench plugin.
프로젝트 파일 및 신호
표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.
저장소 정보
- 언어
- JavaScript
- 라이선스
- MIT
- 마지막 업데이트
- 2026. 8. 17. AM 5:42
신중하게 설치하기
소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.