harness-oia-audit
できること
このスキルは、ハーネスに対して3つの静的チェックを行い、その複合結果を日付付きの監査記録として保存します。定期的な監査を行い、時間とともに比べたいチーム向けです。
使う場面
- ✓1つの手順でハーネスの完全な監査を行いたいとき。
- ✓毎週の監査でずれを見つけたいとき。
- ✓最も重大な検出結果が深刻な場合に、失敗させるチェックがほしいとき。
スキルのリンク
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-oia-audit/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のハーネスの完全な監査を実行して、来週比べられるように保存してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、レイヤーの整合、脅威モデル、ツールのスキャンの各チェックを実行し、見つかった中で最も重大なものを採用して、監査のメモリーに記録を保存します。最も重大な検出結果が設定したレベルに達すると、エラーで終了できます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
The 13th worker (ADR-150 Phase 2) — runs three MetaHarness static surfaces in one shot, computes a composite worst-severity signal, and persists the audit record to memory so drift over time is visible.
Algorithm
Implementation: scripts/oia-audit.mjs.
- Run
harness oia-manifest <path>— Open Infrastructure Architecture layer alignment (L1-L9). - Run
harness threat-model <path>— categorized MCP-surface threat report withworst: clean|low|medium|high. - Run
harness mcp-scan <path>— per-server/tool policy + permissions- dep findings.
- Composite worst =
max(threatModel.worst, max(mcpScan.findings.severity)). - Persist payload to memory namespace
metaharness-auditwith keyaudit-<iso-timestamp>(unless--dry-run). --alert-on-worst <severity>: exit 1 if composite worst ≥ threshold.
Graceful degradation
When ALL three components report metaharness-not-available, the script
emits the standard degraded payload and exits 0. When only some are
degraded, each individual component carries its own degraded: true
flag in the audit record — the audit still runs and persists what it
could gather.
CI / cron integration
Designed for weekly cron in .github/workflows/:
on:
schedule:
- cron: '17 4 * * 0' # Sundays at 04:17 UTC
jobs:
oia-audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: node plugins/ruflo-metaharness/scripts/oia-audit.mjs --alert-on-worst high
--alert-on-worst high fails the job on any HIGH-severity finding;
drift below HIGH is logged but doesn't block.
Memory namespace
Each audit run stores under metaharness-audit:audit-<iso-ts>. To list
recent audits:
npx @claude-flow/cli@latest memory list --namespace metaharness-audit --limit 10
To diff two audits (drift detection):
A=$(npx ... memory retrieve --key audit-2026-06-01... --namespace metaharness-audit)
B=$(npx ... memory retrieve --key audit-2026-06-15... --namespace metaharness-audit)
# Compare composite.worst, components.threatModel.worst, etc.
A future ADR can wire this into a dedicated cost-diff-style diff
viewer specifically for audit drift.
Pairs with
harness-threat-model— the underlying threat-model componentharness-mcp-scan— the underlying MCP-scan componentharness-score+harness-genome— readiness metrics (orthogonal to audit)
よくある質問
どんなチェックが含まれますか?
レイヤーの整合、ツールの表面の脅威モデル、ツールポリシーと権限のスキャンです。
一部のチェックが利用できない場合はどうなりますか?
監査は引き続き実行され、取得できた部分を記録し、欠けている部分は縮退したものとして印を付けます。
定期的に実行できますか?
はい。ソースには、CI のワークフローで毎週スケジュールされた実行の例があります。
詳細
作者による元の説明
Composite Phase-2 audit worker (ADR-150). Bundles harness oia-manifest + threat-model + mcp-scan into one timestamped audit record stored in the `metaharness-audit` memory namespace. Designed for cron-scheduled drift detection.
repo: ruvnet/ruflo
人気
- GitHubのスター
- 81k
- ランキング
- #1653
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-adaptive-coordinator
81k作業量の変化に合わせて、エージェントのグループを分割し、再配分する手助けをします。作業に合った配置を選びます。
agent-agent
81k大きな目標を順番に並んだ行動計画にし、状況が変わったときに計画を立て直す方法をエージェントに教えます。
agent-agentic-payments
81kAIの買い物のために、支出の上限、期間、販売店のルール、署名付きの承認を含む支出の委任を管理する手助けをします。
agent-analyze-code-quality
81kコードの品質を確認し、コードの臭い、技術的負債、リファクタリングの案を見つける手助けをします。ファイルは変更しません。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。