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

prompt-iteration

プロンプトの変更をデプロイせずに組み立て直し、新しい子エージェントで試して応答の変化を比較します。

原文原文の説明を見る

Try edited Centaur persona, prompt overlay, or base system prompt changes live from inside a sandbox by running a fresh child agent on the recomposed prompt. Use when iterating on tools/personas/*/PROMPT.md, services/sandbox/SYSTEM_PROMPT.md, or an overlay repo's prompt without redeploying.

paradigmxyz/centaurスター 1,405(GitHub 1,405 + cccskills 0)

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • ペルソナのプロンプト変更をデプロイ前に試したいとき
  • 変更前後の応答を同じ入力で比べたいとき
  • ベースやオーバーレイのプロンプトを確認したいとき

日本語での紹介

できること

Centaurのペルソナ、プロンプトオーバーレイ、ベースのシステムプロンプトを編集したあと、デプロイせずに動作を試せます。スキルは現在のベースやオーバーレイ、ペルソナと編集内容を組み合わせ、スクラッチ用ディレクトリにプレビューを作成します。その内容を読み込む新しい子エージェントを一回だけ起動し、変更前後の応答を同じプローブ文で比べます。既存セッションのプロンプト自体は変わらないため、試行は新しいプロセスで行います。

こんなときに便利

tools/personas/*/PROMPT.md、services/sandbox/SYSTEM_PROMPT.md、またはオーバーレイリポジトリのプロンプトを調整するときに使えます。応答の振る舞いが狙いどおり変わるか、反復して確かめたい場合に向いています。

使い方の例

  • 「このペルソナの編集をプレビューして、同じ質問で応答を比較して」
  • 「ベースプロンプトを組み立て直して、新しい子エージェントで試して」

注意点

子エージェントはスレッド履歴やチャット受信時の追加情報を持たず、対象のハーネスで単独実行されます。Nanocodexのサブエージェント機能やPi、Amp、Hermesは対象外です。ペルソナ選択やSlack表示の確認にはデプロイが必要です。プローブ文にはシークレットを含めないでください。

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

含まれるファイル(2)

  • SKILL.md3.6 KB
  • scripts/compose_preview.sh3.3 KB

SKILL.md(原文)

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

Prompt Iteration

The running session's prompt cannot change: personas are loaded when api-rs starts and pinned when a session is created, and compose-system-prompt builds AGENTS.md once at sandbox startup. To test an edit, recompose the prompt into a scratch directory and run a fresh, one-shot harness process there.

The child is a local process, not a durable Centaur session. It reaches the model through this sandbox's normal proxy path. Nothing is deployed.

Workflow

  1. Edit the prompt in a writable checkout (git-branch <org/repo> <slug>, then edit under ~/branches/<org>/<repo>):

    • persona: tools/personas/<id>/PROMPT.md
    • base or overlay: services/sandbox/SYSTEM_PROMPT.md
  2. Compose the prompt. By default this uses the session's current base, overlays, and persona:

    S=.agents/skills/prompt-iteration/scripts/compose_preview.sh
    # Persona edit:
    $S --persona ~/branches/<org>/<repo>/tools/personas/<id>/PROMPT.md /tmp/prompt-preview
    # Overlay-repo edit (replaces ~/github/<org>/<repo> as an overlay):
    $S --repo ~/branches/<org>/<repo> /tmp/prompt-preview
    # Base prompt edit (Centaur's own services/sandbox/SYSTEM_PROMPT.md):
    $S --base ~/branches/<org>/<repo>/services/sandbox/SYSTEM_PROMPT.md /tmp/prompt-preview
    

    Flags combine. Use --no-persona to compose without a persona. Read /tmp/prompt-preview/AGENTS.md to confirm the sections and their order before you run anything. The preview directory also links this session's installed skills, so the child sees the same skills.

  3. Run a fresh child on the composed prompt, from the preview directory so it reads that AGENTS.md. Use the harness the persona targets. If the persona pins a model in [tool.centaur.models], pass that model.

    cd /tmp/prompt-preview
    claude -p --append-system-prompt-file AGENTS.md "<probe message>"
    codex exec --skip-git-repo-check --ephemeral "<probe message>"
    

    These flags match how harness-server passes the prompt to each harness. Add --model <model> to either command if you need a specific model.

  4. Compare runs. Send the same probe messages before and after the edit (or with --no-persona), and judge the replies on the behavior the edit is meant to change. Repeat steps 1–3 until it's right. Then commit the edit and open a PR as usual.

Limits

The child gets the same composed prompt, skills, harness config, tools, and proxy credentials as this session. It differs in these ways:

  • It runs on the harness config's default model and effort. Real turns use the model api-rs picks: the persona's pin, the channel default, or the user's flags. Pass --model to match.
  • It gets one bare message: no thread history, and none of the context the chat ingress adds (sender, channel, attachments). If the prompt reacts to that context, write it into the probe message.
  • It bypasses harness-server, so Nanocodex subagent tools and the other harnesses (Pi, Amp, Hermes) are not covered.
  • It does not show persona selection, persona model pinning, or Slack rendering. Those require a deploy, and persona registry edits also need an api-rs restart.
  • Keep probe messages free of secrets. The child runs with this sandbox's credentials, so give it the same tasks you would run here.

レビュー

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

コメント

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

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

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

0 / 1000 文字

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

同じリポジトリのスキル

auth-failure-log-triage

無料概要あり

認証や権限、APIプロキシの失敗をVictoriaLogsの実行ログから調べ、状態コードやシークレット解決エラーなど、原因の手掛かりを整理するスキルです。

  • 401・403・503の原因を調べたいとき
  • 連携機能の認証失敗を追跡したいとき
  • シークレットの解決状況を確認したいとき
paradigmxyz/centaur1,4052026年10月26日 更新

centaur

無料概要あり

認証済みのCentaur環境からチーム承認済みツールを探して実行し、利用者の権限や実行結果を踏まえて作業内容をまとめるスキルです。

  • 承認済みのCentaurツールを探したいとき
  • CentaurのCLI操作を実行したいとき
  • 利用者の権限を確認したいとき
paradigmxyz/centaur1,4052026年10月26日 更新

centaur-console-permissions

無料概要あり

Centaur Consoleで、Slackのチャンネルやユーザー、ワークフローに付与する権限や共有シークレットを、管理者の依頼に沿って追加・変更・削除します。

  • チャンネルに共有ツールのアクセスを付与したいとき
  • Slackチャンネル間の読み書き権限を設定したいとき
  • ユーザーやワークフローの権限を整えたいとき
paradigmxyz/centaur1,4052026年10月26日 更新

centaur-observability

無料概要あり

VictoriaLogsとVictoriaMetricsでCentaurのログや指標を調べ、停止・未反映などの原因を実行履歴や稼働状況の証拠から切り分けるスキルです。

  • 止まったワークフローの原因を調べたいとき
  • 未反映の投稿やアラートを追跡したいとき
  • 実行やツール呼び出しの記録を確認したいとき
paradigmxyz/centaur1,4052026年10月26日 更新

company-context

無料概要あり

社内の過去の議論や決定、プロジェクト・会議の状況を、索引化された情報とSlackやLinearなどの原資料を照合して調べるスキルです。

  • 社内での過去の決定を調べたいとき
  • プロジェクトの経緯や状況を確認したいとき
  • 会議の議論や予定を探したいとき
paradigmxyz/centaur1,4052026年10月26日 更新

creating-tools

無料概要あり

外部サービスのAPIを利用するツール連携を、PythonクライアントやCLI、認証情報の設定、テストを含む所定の構成で新規作成するスキルです。

  • 外部API連携ツールを作りたいとき
  • PythonクライアントとCLIを追加したいとき
  • 認証情報を含むツール構成を整えたいとき
paradigmxyz/centaur1,4052026年10月26日 更新

paradigmxyz のスキルをすべて見る

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