跳到正文
cccskills
免费在 GitHub 公开

prompt-iteration

Preview edits to a Centaur persona, overlay, or base system prompt without deploying them. The skill recomposes the prompt in a scratch directory and runs a fresh one-shot child agent, so you can compare its replies to the intended behavior.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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,407(GitHub 1,407 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • Try a revised persona prompt before deployment
  • Compare agent replies before and after a prompt edit
  • Check a base or overlay prompt with a fresh child agent

包含的文件(2)

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

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 的隐私权政策和服务条款。

同一仓库的技能

Investigate authentication, permission, credential, OAuth, token, secret, and API proxy failures by checking live VictoriaLogs evidence first. Summarize relevant status codes and error details, and distinguish upstream denials from local proxy or secret resolution problems.

中文简介正在准备中。当前显示英语简介。

  • Investigate a 401, 403, or 503 response
  • Trace an integration authentication failure
  • Check why a credential or secret is not resolving
paradigmxyz/centaur14072026年10月26日 更新

centaur

免费

Use an authenticated Centaur MCP deployment to find and call team-approved tools. It checks identity when permissions matter, follows the deployment’s current CLI help, and summarizes consequential changes with relevant identifiers or links.

中文简介正在准备中。当前显示英语简介。

  • Finding the right approved Centaur tool
  • Running an unfamiliar Centaur CLI command
  • Checking the signed-in user's permissions
paradigmxyz/centaur14072026年10月26日 更新

Use this skill to translate a Console administrator’s request into Centaur permission changes. It can create supported principals and secrets, grant or revoke access, adjust Slack and sandbox permissions, and manage Slack Connect allowlists while checking for unsafe personal credential sharing.

中文简介正在准备中。当前显示英语简介。

  • Grant a Slack channel access to a shared tool credential
  • Create a principal for a Slack channel, user, or workflow
  • Adjust a channel’s access to another Slack channel
paradigmxyz/centaur14072026年10月26日 更新

Investigate Centaur incidents using VictoriaLogs for runtime logs and VictoriaMetrics for deployment and health metrics. The skill correlates a narrow time window with relevant code and workflow status, then reports a supported cause or bounded hypotheses and the evidence still needed.

中文简介正在准备中。当前显示英语简介。

  • Investigating a stalled workflow or missing post
  • Checking thread and execution evidence
  • Reviewing tool-call or sandbox activity
paradigmxyz/centaur14072026年10月26日 更新

Answer internal history and project context questions by searching indexed company information and checking relevant live sources such as Slack, Linear, Google Docs, Drive, Calendar, or Granola. Reconcile the evidence and cite dates or source links when available.

中文简介正在准备中。当前显示英语简介。

  • Find what was discussed or decided internally
  • Check a project's prior context or current status
  • Search meeting notes and calendar events
paradigmxyz/centaur14072026年10月26日 更新

Build a new external service integration as a packaged Python CLI. The skill guides the project layout, API client, command-line interface, credential declarations, health check, and tests so the tool can be installed and used by agents.

中文简介正在准备中。当前显示英语简介。

  • Create a tool for a new external API
  • Build a Python client for a service
  • Add a CLI command for an integration
paradigmxyz/centaur14072026年10月26日 更新

查看 paradigmxyz 的全部技能

报告此技能的问题