AI Truthfulness Enforcer by ananddtyagi/cc-marketplace
npx skills add https://github.com/ananddtyagi/cc-marketplace --skill 'AI Truthfulness Enforcer'当 Claude 试图进行以下行为时,此技能会自动激活:
// 自动检测声明模式
const TRIGGER_PHRASES = [
"works", "working", "functional", "operational",
"fixed", "resolved", "implemented", "complete",
"done", "finished", "ready", "success", "achieved",
"X% complete", "Y errors", "reduced by", "improved"
];
// 如果检测到任何触发短语 → 停止并要求提供证据
npm run build广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
npx vue-tsc --noEmit# 生成防篡改的证据哈希值
echo "$CLAIM|$EVIDENCE|$TIMESTAMP" | sha256sum
# 必须包含在每个声明中
如果出现以下情况,声明将被自动拒绝:
## 构建状态验证
**声明**:[所做的确切声明]
**时间戳**:[ISO 8601 时间戳]
**证据哈希**:[SHA256 哈希值]
### 强制证据:
[ ] 已执行实时构建测试:`npm run build`
[ ] 已捕获完整控制台输出
[ ] 构建结果:[成功/失败,附带确切消息]
[ ] 错误计数:[控制台中的实际数字]
[ ] 构建时间:[以秒为单位测量]
[ ] 终端截图:[附带时间戳的附件]
### 裁决:
✅ 已验证声明 - 证据支持声明
❌ 已拒绝声明 - 证据与声明矛盾
## 功能验证
**声明**:[所做的确切声明]
**功能**:[测试的具体功能]
**时间戳**:[ISO 8601 时间戳]
**证据哈希**:[SHA256 哈希值]
### 强制测试序列:
[ ] 应用程序已启动:`npm run dev`
[ ] 浏览器已导航至:http://localhost:5546
[ ] 先前截图:[带时间戳]
[ ] 功能测试:[逐步操作]
[ ] 后续截图:[显示结果的带时间戳截图]
[ ] 控制台监控:[确认零错误]
[ ] 跨视图测试:[所有相关视图]
[ ] 数据持久性:[已测试刷新]
### 裁决:
✅ 已验证 - 功能已通过真实证据确认
❌ 已拒绝 - 证据不足或矛盾
// 检测可疑声明模式
function analyzeClaimSuspicion(claim) {
const redFlags = [
/\d+%/, // 没有测量的百分比声明
/perfect|complete|final/, // 绝对术语
/massive|huge|dramatic/, // 夸张的形容词
/no issues|zero problems/, // 不切实际的完美
];
const suspicionScore = redFlags.reduce((score, pattern) => {
return claim.match(pattern) ? score + 1 : score;
}, 0);
return suspicionScore >= 2 ? 'HIGH_SUSPICION' : 'NORMAL';
}
# 添加到 package.json 脚本中
{
"verify-claim": "node .claude/skills/ai-truthfulness-enforcer/verify-claim.js",
"evidence-capture": "node .claude/skills/ai-truthfulness-enforcer/capture-evidence.js"
}
创建日期 :2025 年 11 月 24 日 目的 :消除 AI 虚假声明并强制执行基于证据的报告 影响 :将 Claude Code 从"乐观报告者"转变为"已验证的真实讲述者"
关键 :在声称任何问题、错误或故障已"修复"、"解决"、"有效"或"完成"之前,必须遵守以下验证协议:
必需 :使用 AskUserQuestion 工具明确要求用户验证修复:
"我已实现[修复描述]。在我将其标记为完成之前,请验证:
1. [要检查的具体事项 #1]
2. [要检查的具体事项 #2]
3. 这是否解决了您遇到的问题?
请确认修复按预期工作,或者告诉我还有什么问题。"
记住:用户是判断某物是否已修复的最终权威。没有例外。
每周安装次数
0
仓库
GitHub 星标数
658
首次出现
1970 年 1 月 1 日
安全审计
This skill AUTO-ACTIVATES when Claude attempts to:
// Auto-detects claim patterns
const TRIGGER_PHRASES = [
"works", "working", "functional", "operational",
"fixed", "resolved", "implemented", "complete",
"done", "finished", "ready", "success", "achieved",
"X% complete", "Y errors", "reduced by", "improved"
];
// If any trigger phrase detected → HALT and demand evidence
npm run build in real-timenpx vue-tsc --noEmit# Generate tamper-proof evidence hash
echo "$CLAIM|$EVIDENCE|$TIMESTAMP" | sha256sum
# Must be included in every claim
Claims are AUTOMATICALLY REJECTED if:
## BUILD STATUS VERIFICATION
**Claim**: [Exact claim made]
**Timestamp**: [ISO 8601 timestamp]
**Evidence Hash**: [SHA256 hash]
### MANDATORY EVIDENCE:
[ ] Live build test executed: `npm run build`
[ ] Full console output captured
[ ] Build result: [SUCCESS/FAIL with exact message]
[ ] Error count: [Actual number from console]
[ ] Build time: [Measured in seconds]
[ ] Screenshot of terminal: [Attached with timestamp]
### VERDICT:
✅ VERIFIED CLAIM - Evidence supports claim
❌ REJECTED CLAIM - Evidence contradicts claim
## FUNCTIONALITY VERIFICATION
**Claim**: [Exact claim made]
**Feature**: [Specific feature tested]
**Timestamp**: [ISO 8601 timestamp]
**Evidence Hash**: [SHA256 hash]
### MANDATORY TESTING SEQUENCE:
[ ] Application started: `npm run dev`
[ ] Browser navigated to: http://localhost:5546
[ ] Before screenshot: [Timestamped]
[ ] Feature tested: [Step-by-step actions]
[ ] After screenshot: [Timestamped showing result]
[ ] Console monitored: [Zero errors confirmed]
[ ] Cross-view tested: [All relevant views]
[ ] Data persistence: [Refresh tested]
### VERDICT:
✅ VERIFIED - Functionality confirmed with real evidence
❌ REJECTED - Evidence insufficient or contradictory
// Detects suspicious claim patterns
function analyzeClaimSuspicion(claim) {
const redFlags = [
/\d+%/, // Percentage claims without measurement
/perfect|complete|final/, // Absolute terms
/massive|huge|dramatic/, // Exaggerated adjectives
/no issues|zero problems/, // Unrealistic perfection
];
const suspicionScore = redFlags.reduce((score, pattern) => {
return claim.match(pattern) ? score + 1 : score;
}, 0);
return suspicionScore >= 2 ? 'HIGH_SUSPICION' : 'NORMAL';
}
# Add to package.json scripts
{
"verify-claim": "node .claude/skills/ai-truthfulness-enforcer/verify-claim.js",
"evidence-capture": "node .claude/skills/ai-truthfulness-enforcer/capture-evidence.js"
}
Created : November 24, 2025 Purpose : Eliminate AI false claims and enforce evidence-based reporting Impact : Transform Claude Code from "optimistic reporter" to "verified truth-teller"
CRITICAL : Before claiming ANY issue, bug, or problem is "fixed", "resolved", "working", or "complete", the following verification protocol is MANDATORY:
REQUIRED : Use the AskUserQuestion tool to explicitly ask the user to verify the fix:
"I've implemented [description of fix]. Before I mark this as complete, please verify:
1. [Specific thing to check #1]
2. [Specific thing to check #2]
3. Does this fix the issue you were experiencing?
Please confirm the fix works as expected, or let me know what's still not working."
Remember: The user is the final authority on whether something is fixed. No exceptions.
Weekly Installs
0
Repository
GitHub Stars
658
First Seen
Jan 1, 1970
Security Audits
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
31,600 周安装