OpenParable
Skip to content
← Back to skills

Crater CLI Admin Approval Order

Apps & Automation
crater-cli-admin-approval-order

Crater CLI Admin Approval Order is an Agent Skill for apps & automation published in the raids-lab/crater repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Crater CLI 管理员审批工单域:通过 crater admin order ... 查看、批准、拒绝、清理审批工单。仅在用户明确要求管理员审核时使用。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/raids-lab/crater/blob/HEAD/cli/skills/crater-cli-admin-approval-order/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/crater-cli-admin-approval-order, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Crater CLI Admin Approval Order

Use this skill only for administrator approval-order workflows.

Commands

  • crater admin order ls --json
  • crater admin order get <id> --json
  • crater admin order approve <id> --json
  • crater admin order approve <id> --lock --days <n> --hours <n> --minutes <n> --json
  • crater admin order approve <id> --lock --permanent --json
  • crater admin order reject <id> --review-notes <reason> --json
  • crater admin order check --yes --json

Rules

  • Admin commands always use the crater admin order ... prefix. Do not use --admin.
  • reject requires --review-notes.
  • approve --lock first reads the order detail, locks the target job, and only then reviews the order.
  • Lock duration values must be non-negative. Unless --permanent is set, --lock requires a positive duration.
  • The CLI does not send reviewerID; the backend derives the reviewer from the active token.
  • The review API only updates status and review notes. It does not overwrite the original order content.

Safety

Do not use this skill for ordinary user order submission or cancellation. Use crater-cli-approval-order for user-owned approval-order workflows.