clarity-gate – skill Khác cho agent AI
Kiểm tra trước khi nạp dữ liệu nhằm đảm bảo chất lượng nhận thức (epistemic) trong hệ thống RAG. Đảm bảo tài liệu được xác định đủ điều kiện trước khi vào knowledge base. Tạo CGD (Clarity-Gated Documents) và kiểm tra file SOT (Source of Truth).
Cài skill clarity-gate bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/clarity-gate-86016.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /clarity-gate – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/clarity-gate-86016.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $clarity-gate – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/clarity-gate-86016.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /clarity-gate – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/clarity-gate-86016.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /clarity-gate – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Clarity Gate v2.1
Purpose: Pre-ingestion verification system that enforces epistemic quality before documents enter RAG knowledge bases. Produces Clarity-Gated Documents (CGD) compliant with the Clarity Gate Format Specification v2.1.
Core Question: "If another LLM reads this document, will it mistake assumptions for facts?"
Core Principle: *"Detection finds what is; enforcement ensures what should be. In practice: find the missing uncertainty markers before they become confident hallucinations."*
---
Detailed Guide
Read [the detailed guide](references/detailed-guide.md) before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
Critical Limitation
> Clarity Gate verifies FORM, not TRUTH.
>
> This skill checks whether claims are properly marked as uncertain—it cannot verify if claims are actually true.
>
> Risk: An LLM can hallucinate facts INTO a document, then "pass" Clarity Gate by adding source markers to false claims.
>
> Solution: HITL (Human-In-The-Loop) verification is MANDATORY before declaring PASS.
---
When to Use
- Before ingesting documents into RAG systems
- Before sharing documents with other AI systems
- After writing specifications, state docs, or methodology descriptions
- When a document contains projections, estimates, or hypotheses
- Before publishing claims that haven't been validated
- When handing off documentation between LLM sessions
---
What This Skill Does NOT Do
- Does not classify document types (use Stream Coding for that)
- Does not restructure documents
- Does not add deep links or references
- Does not evaluate writing quality
- Does not check factual accuracy autonomously (requires HITL)
---
Catalog availability and honest status
This copy is guidance only: neither the referenced normative specification nor claim-ID/hash/validator scripts are bundled. Do not run absent paths, reuse sample digests as actual integrity evidence, set computed ingestion flags, or certify v2.1 compliance from this prose alone. The field examples with REVIEWED/confirmed-by are fictional illustrations; preserve PENDING until actual identified human confirmation of the exact claims and document revision. Hashes detect byte/canonicalization changes, not truth, authenticity or review authority. Eight-hex-character IDs need duplicate detection; use longer IDs for scale.
Missing evidence cannot be repaired by adding a fabricated citation, precision or uncertain qualifier. Retain the original claim and source separately from annotations, preserve genuine historical dates, and report unverifiable facts as unverified. A source being called SOT does not establish reliability. Private source documents must not be sent to a RAG service without authorization. This AAS revision corrects availability, timestamp and status-authenticity guidance while preserving Francesco Marinoni Moretto's CC-BY-4.0 attribution.
Skill liên quan
- pycalphad – Tính toán cân bằng CALPHAD ở nhiệt độ hữu hạn, phần pha và thành phần pha từ cơ sở dữ…
- claude-speed-reader – -Đọc nhanh câu trả lời của Claude với tốc độ 600+ WPM bằng RSVP và tô nổi bật ORP kiểu…
- clerk-auth – Mẫu chuyên sâu để triển khai xác thực Clerk, middleware, tổ chức, webhook và đồng bộ…
- clients-accounts – Sổ đăng ký khách hàng và tài khoản: liên hệ, địa chỉ thanh toán, mã số thuế và cơ sở…
- cloudflare-r2 – Quản lý bucket Cloudflare R2, lifecycle và signed URL. Dùng cho lưu trữ đối tượng chi…
- intl-expansion – Chiến lược mở rộng thị trường quốc tế: chọn thị trường, hình thức thâm nhập, bản địa…
- cloudflare-workers-expert – Chuyên gia về Cloudflare Workers và hệ sinh thái Edge Computing. Bao gồm Wrangler, KV…
- pixel-art – Pixel art với bảng màu theo thế hệ máy (NES, Game Boy, PICO-8).