本文へ移動
cccskills
無料GitHub で公開日本語紹介

add-rules

ユーザーが指定したポリシーや恒久的な制約を OpenViking Rules に登録し、処理状況と保存内容を確かめるスキルです。

原文原文の説明を見る

Compile durable constraints into OpenViking Rules with rules/compile. Use when the user asks to add rules or import a policy. Do not use for preferences, facts, or rule search.

volcengine/OpenVikingスター 41,138(GitHub 41,138 + cccskills 0)

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • チームのポリシーを登録したいとき
  • 恒久的な制約を Rule として整理したいとき
  • 登録タスクの完了と保存結果を確認したいとき

日本語での紹介

できること

ユーザーが追加やインポートを依頼したポリシー、または恒久的な制約を OpenViking Rules に登録します。Python で動作し SDK が利用できる場合は Python SDK、それ以外では HTTP を使い、1つの処理の途中で方式を混ぜずに進めます。原文の義務、適用条件、例外、しきい値、識別子を保ち、書かれていないポリシーを補いません。登録タスクの完了まで状態を確認し、保存された Rule や Scenario の内容、実際の変更、未解決の判断事項を確かめます。

こんなときに便利

組織やチームのポリシーを OpenViking に取り込みたいときや、継続して適用する制約を Rule として整理したいときに使えます。処理が受け付けられた段階と、実際に Rule が保存された段階を区別して確認したい場合にも向いています。

使い方の例

  • 「このポリシーを OpenViking Rules に登録してください」
  • 「指定した文書から恒久的な制約を取り込み、保存結果を確認してください」
  • 「登録タスクの状態と、保存された Rule の内容を確認してください」

注意点

登録には OpenViking への接続が必要で、Python SDK または HTTP を使います。読み取り可能なテキストが対象で、画像・音声・動画は送信できません。ユーザーの明示的な許可がないルールの一時停止や削除などの状態変更は行いません。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

資料チェック

SKILL.md の記述から、注意が要る操作と導入の前提を AI が確認しました。点数は実際に動かした結果(実行検証)だけで付けています。

安全面送信・削除・コマンド実行などの扱いが明示されているか
A良好明示許可なしの状態変更を禁じ、同一接続を使い資格情報を露出しません。
導入のしやすさ必要なツールや API キーが少ないか、書かれているか
B一部不足OpenViking接続とSDKまたはHTTPが必要ですが、接続設定の導入手順はありません。

点数には入れていません。 2026年10月27日 時点で AI(OpenAI Codex)が判定しました。目安なので、入れる前に原文も確認してください。

評価が違うと思ったら、見直しを依頼する

どの項目が、なぜ違うと思うかを書いてください。ログインは不要です。内容を SKILL.md と照らし合わせて評価を作り直し、この欄に反映します。

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

含まれるファイル(1)

  • SKILL.md5.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Add Rules

Goal

Use POST /api/v1/rules/compile to compile user-authorized durable constraints into OpenViking Rules, then verify the task result and saved Rules.

Workflow

  1. Identify the user's rule text or policy sources and the intended OpenViking connection. Use the same instance and identity for upload, compilation, task polling, and verification.

  2. Choose exactly one invocation mode for the entire workflow:

    • Python SDK mode: use when the Agent runs in Python and the OpenViking SDK is available. Use SDK methods for source upload, compilation, task polling, and reading.
    • HTTP mode: use for other languages or general-purpose Agents. Use HTTP endpoints for source upload, compilation, task polling, and reading. Do not mix SDK calls and direct HTTP calls within one compilation workflow.
  3. Build a request with top-level instruction and sources; at least one must be non-empty. Preserve the source's obligations, applicability conditions, exceptions, thresholds, and identifiers without inventing policy.

  4. Continue only with the selected mode and use its exact parameter shape:

    Python SDK mode

    options supports sources. Each source may be a local file or directory path, a remote URL, a Resource URI, or an advanced source dictionary. The SDK uploads local paths automatically.

    task = client.rule_compile(
        instruction="Compile the supplied policy into durable Rules.",
        options={
            "sources": [
                "/local/path/policy.md",
                "https://example.org/policy.md",
                "viking://resources/team-policy",
            ]
        },
    )
    task_id = task["task_id"]
    

    Poll with client.get_task(task_id) and read saved content with client.read_raw(uri).

    HTTP mode

    HTTP has no options wrapper. Put instruction and sources directly in the JSON body. Use resource_uri for an existing Resource, path for a remote text source, or temp_file_id returned by POST /api/v1/resources/temp_upload for local content.

    {
      "instruction": "Compile the supplied policy into durable Rules.",
      "sources": [
        {"resource_uri": "viking://resources/team-policy"},
        {"path": "https://example.org/policy.md"},
        {"temp_file_id": "tmp_xxx", "source_name": "policy.md"}
      ]
    }
    

    Submit this body to POST /api/v1/rules/compile. Never send a client-local path to that endpoint. Poll GET /api/v1/tasks/{task_id} and read saved content through GET /api/v1/content/read?uri=...&raw=true.

    Save the returned task_id; acceptance does not mean compilation has completed.

  5. Poll using the selected mode until the task is completed, failed, or cancelled. Query the existing task rather than resubmitting the request.

  6. Inspect result.operations, written_uris, and write_result. Distinguish saved Rules from NOOP, UNCERTAIN, and REJECT results; completed does not guarantee new Rules.

  7. Read representative saved Rules and their Scenarios using the selected mode. Check the policy text and evidence, and verify rules/<scenario_id>/abstract.md holds Scenario metadata while Rule files sit directly beside it as <atomic_id>.md. Report the task ID, actual changes, representative URIs, and unresolved decisions.

Boundaries

  • Compile durable constraints only; do not promote preferences, facts, or one-task advice.
  • Prefer faithful, non-empty applies_when conditions supported by the source. Empty applies_when means applicable in every situation except exception, not unknown.
  • Request lifecycle changes only when the user explicitly authorizes them. Use ARCHIVE only when the user's instruction explicitly asks to delete, discard, or move a Rule to the recycle bin. Use PAUSE for pause, disable, deactivate, retire, stop-applying, or stop-using requests without deletion intent. Archived Rules are logically deleted: they are not compiler candidates and cannot be restored through Rule compilation.
  • Use client connection configuration, not service-side model credentials. Do not switch instances or expose credentials to resolve a failed request.
  • The API accepts at most 16 sources and 64000 instruction characters; source collection reads at most 128 files and 128000 characters. Split oversized material into self-contained policies with their conditions and exceptions rather than silently omitting content.
  • Rule compilation requires readable text. Do not submit image, audio, or video sources.
  • If a request fails or its status is unknown, check the task and saved files before retrying. Previously imported Resources are not rolled back when later Rule compilation fails.
  • Do not treat an immediate empty search result as proof that writing failed; semantic indexing may still be pending.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

cron

無料概要あり

指定時刻や一定間隔でリマインダーを送り、エージェントに定期作業を実行させて結果を受け取れます。一度だけの予定や、登録済みの予定の一覧確認・削除にも対応します。

  • 定期的に休憩を知らせてほしいとき
  • 会議前に一度だけ通知してほしいとき
  • 定期確認の結果を受け取りたいとき
volcengine/OpenViking4.1万2026年10月29日 更新

daily-report

無料概要あり

会話ログや議事録、タスク記録などを日付ごとに整理し、完了した成果・進捗・決定事項・課題・次の行動を、根拠へのリンク付きの日報にまとめるスキルです。

  • 分散した記録から一日の日報を作りたいとき
  • 議事録とチャットを日報にまとめたいとき
  • 実績とエージェントの予定を区別したいとき
volcengine/OpenViking4.1万2026年10月29日 更新

experience_loader

無料概要あり

作業前にOpenVikingから関連する過去の実行経験を探し、適用条件と除外条件を確認します。現在の事実に合う経験だけを、作業の参考として読み込みます。

  • 新しい作業に役立つ過去の経験を探したいとき
  • 現在の条件に合わない経験の除外
  • 過去の助言と現在のツール結果の照合
volcengine/OpenViking4.1万2026年10月29日 更新

github

無料概要あり

GitHubのIssueやプルリクエスト、CIの実行状況をコマンドで確認・操作します。失敗した処理のログや必要な項目を取り出し、開発作業の状況確認に使えます。

  • プルリクエストの自動テスト結果確認
  • 失敗したワークフローのログ調査
  • Issueの番号とタイトルの一覧作成
volcengine/OpenViking4.1万2026年10月29日 更新

github-proxy

無料概要あり

GitHubへの接続が遅い環境で、プロキシ経由の取得用URLに変換します。リポジトリの複製やRelease添付ファイル、Rawファイルなどのダウンロードを支援します。

  • GitHubが遅い環境で複製したいとき
  • Release添付ファイルの取得
  • Rawファイルや圧縮ファイルの取得
volcengine/OpenViking4.1万2026年10月29日 更新

install-openviking-memory

無料概要あり

OpenClawに長期記憶を追加するプラグインを、対話で必要な情報を集めて導入・設定します。会話の情報を保存し、別のセッションでも関連する記憶を呼び出せるようにします。

  • OpenClawに長期記憶を追加したいとき
  • 別の会話でも保存した情報を呼び出したいとき
  • アシスタントや送信者ごとに記憶を分けたいとき
volcengine/OpenViking4.1万2026年10月29日 更新

volcengine のスキルをすべて見る

このスキルの問題を報告する