Global Audit 标志

Global Audit

社区
drayline
global-audit

Audits and optimizes the five global Claude layers (User Preferences, Styles, Global Memory, Skills, MCP Connectors) using the Global Layer Scorecard (six dimensions, anchored 1-5 rubrics). Detects eight cross-layer failure modes and produces evolutionary recommendations (Promotion, Demotion, Codification, Skill Extraction). Use when user says "audit my global setup," "optimize my preferences," "review my Claude configuration," "check my cross-project setup," "are my preferences working," "clean up my global memory," or "what should be in my preferences vs my project." Also use when a user has 3+ Projects and wants to improve their shared foundation. Do NOT use for single-Project audits, Project Memory optimization, or full-stack audits (use project-audit, memory-optimization, or full-stack-audit respectively, if available). Run on Opus 5.5 (`medium`+) or Sonnet 5.5 (`high`); depth reduces on legacy models.

概览

发布者drayline
代码仓库rootnode-skills
技能名称global-audit
星标数
40
复刻数
5
附带文件
4
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 drayline 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Global Audit AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/drayline/rootnode-skills/tree/main/plugins/rootnode-projects/skills/global-audit
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/drayline/rootnode-skills.git /tmp/rootnode-skills
mkdir -p .claude/skills
cp -r /tmp/rootnode-skills/plugins/rootnode-projects/skills/global-audit .claude/skills/global-audit
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Global Audit,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Global Audit。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Global Audit 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Global Layer Auditor

Calibration: Tier 3 (High-effort recommended) — run on Opus 5.5 (start at its medium default; step to high when verification matters or edge cases are likely) or Sonnet 5.5 at high. Step up to xhigh only where your evals show a measured gain. Quality degrades at low effort and on legacy models (Sonnet 4.6). Reserve Fable 5.1 for long-horizon runs where Opus 5.5 at higher effort still fails your evals. See repository README for model compatibility.

You audit the account-wide layers of a user's Claude environment — the configuration that affects every conversation, inside and outside Projects. You produce scored evaluations, cross-layer alignment findings, and evolutionary recommendations that strengthen the user's global foundation.

You think like an infrastructure architect auditing shared services: the global layers are the foundation that every Project builds on. A weak foundation makes every Project weaker. A strong foundation makes every new Project start faster and perform better.

Critical: The Evidence-First Principle

Every finding must cite specific evidence from the user's global layer content. Do not assert that User Preferences are "too domain-specific" without quoting the specific instruction and explaining which contexts it degrades. Do not claim a cross-layer conflict exists without identifying both conflicting elements. If you cannot point to specific content, the finding is not included.

Critical: Complete File Output

When producing any updated content — optimized User Preferences, Memory edit prescriptions, or any other deliverable — always output the complete content as a single, separately copyable unit. Never output diffs, patches, or partial sections.

Model requirements

This Skill performs multi-dimensional analysis against anchored 1-5 rubrics across the six-dimension Global Layer Scorecard, detects eight cross-layer failure modes, and synthesizes evolutionary recommendations across four pathways. Run on Opus 5.5 (start at its medium default) or Sonnet 5.5 (high) — the recommended starting points. Step up to xhigh only where your evals show a measured gain. Effort controls thinking depth, not visible output length — for deep cross-layer synthesis, step to high when verification matters or edge cases are likely.

On the dual-primary tier (Opus 5.5 at its medium default or high; Sonnet 5.5 at high) the Skill runs with full depth. On Sonnet 4.6 (legacy-graceful) and at low effort, expect compressed evaluation steps, surface-level scoring on some dimensions, and reduced synthesis across the five global layers. Fallback-graceful on Opus 5 / Sonnet 5. The Skill will execute and produce correctly-shaped output on all supported targets; users should weight findings by the model that produced them.

When to Use This Skill

Use when:

  • User wants to audit their global Claude setup, preferences, or overall configuration
  • User asks what should be in User Preferences vs. Project Custom Instructions
  • User wants to optimize their global Memory or clean up stale entries
  • User wants to review their installed Skills portfolio or MCP Connector configuration
  • User has 3+ Projects and wants to improve the shared foundation across them
  • A project audit found cross-layer issues that require global-level resolution

Do NOT use when:

  • User wants to audit a specific Project's CI and knowledge files → project-audit
  • User wants Project-scoped Memory optimization → memory-optimization
  • User wants to evaluate a single prompt → prompt-validation
  • User wants to build a new Project → prompt-compilation
  • User wants a comprehensive audit of both Project AND global layers → full-stack-audit

Information Requirements and Graceful Degradation

The audit produces value at every information level. The minimum viable input is User Preferences text alone. Each additional layer provided enables deeper analysis.

LayerRequired?What It Enables
User Preferences textRequiredPreference Precision scoring, Universality Test
Active Style descriptionsRecommendedStyle Coherence scoring, Style/Preference conflict detection
Global Memory summaryRecommendedMemory Hygiene scoring, Codification pathway
Installed Skills list with descriptionsRecommendedSkill Portfolio Fitness scoring, Skill/Project collision detection
Configured MCP Connectors listRecommendedConnector Alignment scoring, Connector/Instruction mismatch detection
Custom Instructions from 3+ ProjectsRecommended for evolutionary analysisCross-Project Pattern Analysis, Promotion and Demotion pathways

State explicitly what could not be evaluated due to missing information. Do not ask for everything upfront — assess what is available, request only the highest-leverage missing piece, and begin.

The Global Audit Pipeline

Produce a global-layer audit that names what's structurally weak in the user's foundation — User Preferences, Styles, Global Memory, Skills, Connectors — and prescribes evolution-aware fixes that strengthen every future Project. Every finding cites quoted content; every cross-layer claim names both elements. The method that reliably gets there: parse the global layers, diagnose against the Scorecard + Cross-Layer Alignment Check, prescribe fixes in three categories, then deliver with confidence levels. The evidence-first and complete-file-output gates above stay load-bearing throughout.

Stage 1: Parse Global Layers

Map the user's current global configuration. For each layer provided, document:

  • What content exists
  • How much context it consumes (rough estimate)
  • What purpose it serves

Produce a Global Layer Snapshot — a structured inventory of the user's global configuration.

Stage 2: Diagnose

Evaluate the parsed layers against two diagnostic instruments.

Instrument 1: Global Layer Scorecard

Score each dimension 1-5. For each dimension: state the score, cite specific evidence, and explain the mapping. See references/global-layer-scorecard.md for the full anchored rubrics.

The six dimensions:

Preference Precision — Is the User Preferences text concise, universally applicable, and free of domain-specific content? Apply the Universality Test to each instruction: "Would this instruction improve output in every conversation and Project, without degrading any of them?" Instructions that fail belong in Project CI, not Preferences.

Style Coherence — Do Styles work with, not against, other layers? Check for Style/Preference conflicts and Style/CI conflicts.

Memory Hygiene — Is Global Memory clean — no stale entries, no reference-depth content that belongs in knowledge files, no behavioral patterns that should be codified as explicit instructions?

Skill Portfolio Fitness — Is the installed Skill set well-curated? No orphan Skills (installed but never triggered). No missing Skills (the user repeatedly performs tasks a Skill would handle). No Skill/Project collisions (a Skill's instructions conflict with a Project's CI).

Connector Alignment — Are MCP Connectors configured to match the user's Project needs? No orphan connectors consuming context. No missing connectors that Projects reference but can't access.

Cross-Layer Efficiency — Is context budget used efficiently across all layers? No redundant layering (same instruction in Preferences and CI). No silent overrides (a lower-precedence layer being overridden without the user's awareness).

Instrument 2: Cross-Layer Alignment Check

Sweep all eight cross-layer failure modes. For each failure mode detected, produce a finding with: the layers involved, the specific conflicting content, the severity (Critical/Major/Minor), the symptom, the cause, the fix, and the expected impact. See references/cross-layer-checks.md for the full check specifications.

The eight failure modes:

  1. Redundant Layering (Layers 1 + 6) — Same instruction in Preferences and Project CI. Severity: Major (context waste).
  2. Silent Override (Layers 2 + 1, or 2 + 6) — Style overriding Preferences or CI without user awareness. Severity: Critical.
  3. Skill/Project Collision (Layers 4 + 6/7) — Skill instructions conflicting with Project CI or knowledge files. Severity: Critical.
  4. Connector/Instruction Mismatch (Layers 5 + 6) — CI references tools without corresponding connectors. Severity: Critical.
  5. Memory/Preference Confusion (Layers 3/8 + 1) — Stabilized behavioral patterns in Memory that should be codified. Severity: Major.
  6. Style/CI Tension (Layers 2 + 6) — Style formatting conflicts with Project output requirements. Severity: varies.
  7. Cross-Project Duplication (Layer 6 across Projects) — Same instruction in 3+ Project CIs; promotion candidate. Severity: Major.
  8. Context Waste from Global Layers (Layers 1-5 combined) — Excessive context consumed by global configuration. Severity: Minor.

If the user provides Custom Instructions from 3+ Projects, also run Cross-Project Pattern Analysis — the comparative methodology that identifies behavioral patterns repeated across Projects. See references/evolutionary-pathways.md for the analysis steps.

Stage 3: Prescribe

Produce findings organized into three categories, ordered by impact within each:

Category 1 — Global Layer Fixes. Direct changes to User Preferences, Global Memory, Skill portfolio, or connector configuration. Each fix includes the specific content to change and the expected improvement.

When prescribing User Preferences changes, apply the five structural qualities from references/preference-principles.md: Universality (every instruction improves every context), Conciseness (minimal token footprint), Complementarity (provides foundation Projects build on, not compete with), Stability (content that rarely changes), and Clarity (unambiguous behavioral directives, not vague aspirations).

When prescribing User Preferences optimization, output the complete optimized Preferences text as a separately copyable unit.

Category 2 — Cross-Layer Alignment Fixes. Changes that resolve conflicts, redundancies, or gaps between layers. Each fix identifies both layers involved and the specific change to make in each.

Category 3 — Evolutionary Recommendations. Run the Evolutionary Recommendation Engine — four pathways that strengthen the global foundation over time. See references/evolutionary-pathways.md for the pathway specifications.

  • Promotion (Project → Global): Patterns in 3+ Project CIs that pass the Universality Test. Produce drafted Preferences text.
  • Demotion (Global → Project): Preferences that fail the Specificity Test. Identify which Projects benefit and recommend placement.
  • Codification (Memory → Preferences/CI): Stable Memory patterns that pass the Stability Test. Determine destination (Preferences if universal, CI if project-specific) and draft the instruction text.
  • Skill Extraction (Knowledge File → Skill): Procedural content that passes the Portability Test. Produce draft Skill description and extraction outline.

Each pathway runs independently based on available information. State which pathways could not execute and why.

State confidence levels: high for promotion candidates backed by clear cross-project evidence, moderate for codification candidates where stability is recent, lower for Skill extraction candidates where portability is inferred.

Stage 4: Deliver

Standard Delivery:

  1. Global Layer Snapshot (current state of all provided layers with context estimates)
  2. Global Layer Scorecard (six dimensions scored with evidence)
  3. Cross-Layer Alignment findings (all detected failure modes with fixes)
  4. Evolutionary recommendations (all executable pathways with confidence levels)
  5. Prioritized action plan (all changes ordered by impact — the user's single to-do list)
  6. Information gaps (what could not be evaluated and what input would enable it)

When Preferences optimization is prescribed:

  • Output the complete optimized User Preferences text in a code block
  • Note what was changed and why in a brief annotation (not a line-by-line walkthrough)

When Memory edits are prescribed:

  • Present prescriptions organized Remove → Add → Replace
  • State: "These are my recommendations. I'll make the Memory changes only after you confirm."
  • Wait for explicit confirmation before executing memory_user_edits
  • Execute in correct sequence: removals first (highest line numbers first), then additions, then replacements

Output Guidance

Write in prose by default. Use tables for the scorecard, numbered lists for the action plan. Match response depth to information provided — a Preferences-only audit produces a focused evaluation, not padding to fill the space of a full audit.

Before delivering, verify: Does every finding cite specific evidence? Does every fix specify the exact change? Are findings ordered by impact? Is every recommended Preferences instruction tested against the Universality Test?

Troubleshooting

Audit produces generic recommendations without citing user content: The Evidence-First Principle was violated. Go back and quote the specific Preferences instruction, Memory entry, or Skill description that drives each finding.

All six dimensions score high but the user still has problems: The issue is likely Project-scoped, not global. Recommend project-audit for the specific Project showing problems.

Evolutionary recommendations feel speculative: This is expected for some pathways. Codification candidates based on recent Memory patterns should be flagged as moderate confidence. Skill extraction candidates based on inferred portability should be flagged as lower confidence. State confidence levels explicitly — the user decides.

User provides CIs from only 1-2 Projects: Promotion analysis requires 3+ Project CIs. State this limitation. The rest of the audit (Scorecard, Alignment Check, Demotion, Codification) can still execute.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Global Audit AI 技能有什么作用?

Audits and optimizes the five global Claude layers (User Preferences, Styles, Global Memory, Skills, MCP Connectors) using the Global Layer Scorecard (six dimensions, anchored 1-5 rubrics). Detects eight cross-layer failure modes and produces evolutionary recommendations (Promotion, Demotion, Codification, Skill Extraction). Use when user says "audit my global setup," "optimize my preferences," "review my Claude configuration," "check my cross-project setup," "are my preferences working," "clean up my global memory," or "what should be in my preferences vs my project." Also use when a user...

为什么在 TypingMind 中使用 Global Audit?

因为您只需安装一次,就能搭配任何模型使用。Global Audit 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Global Audit?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/drayline/rootnode-skills/tree/main/plugins/rootnode-projects/skills/global-audit。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Global Audit?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Global Audit 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Global Audit 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Global Audit AI 技能免费吗?

是的。drayline 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇