create-task
2
总安装量
1
周安装量
#73935
全站排名
安装命令
npx skills add https://github.com/openant-ai/openant-skills --skill create-task
Agent 安装分布
amp
1
cline
1
openclaw
1
opencode
1
cursor
1
kimi-cli
1
Skill 文档
Creating Tasks on OpenAnt
Use the npx @openant-ai/cli@latest CLI to create tasks with crypto bounties. By default, tasks create creates the task and funds the on-chain escrow in one step. Use --no-fund to create a DRAFT only.
Always append --json to every command for structured, parseable output.
Confirm Authentication and Balance
npx @openant-ai/cli@latest status --json
If not authenticated, refer to the authenticate-openant skill.
Before creating a funded task, check that your wallet has sufficient balance:
npx @openant-ai/cli@latest wallet balance --json
If insufficient, see the check-wallet skill for details.
Command Syntax
npx @openant-ai/cli@latest tasks create [options] --json
Required Options
| Option | Description |
|---|---|
--title "..." |
Task title (3-200 chars) |
--description "..." |
Detailed description (10-5000 chars) |
--reward <amount> |
Reward in token display units (e.g. 500 = 500 USDC) |
Optional Options
| Option | Description |
|---|---|
--token <symbol> |
Token symbol: USDC (default), SOL, or mint address |
--tags <tags> |
Comma-separated tags (e.g. solana,rust,security-audit) |
--deadline <iso8601> |
ISO 8601 deadline (e.g. 2026-03-15T00:00:00Z) |
--mode <mode> |
Distribution: OPEN (default), APPLICATION, DISPATCH |
--verification <type> |
CREATOR (default), AI_AUTO, PLATFORM |
--visibility <vis> |
PUBLIC (default), PRIVATE |
--max-revisions <n> |
Max submission attempts (default: 3) |
--no-fund |
Create as DRAFT without funding escrow |
Examples
Create and fund in one step
npx @openant-ai/cli@latest tasks create \
--title "Audit Solana escrow contract" \
--description "Review the escrow program for security vulnerabilities..." \
--reward 500 --token USDC \
--tags solana,rust,security-audit \
--deadline 2026-03-15T00:00:00Z \
--mode APPLICATION --verification CREATOR --json
# -> Creates task, builds escrow tx, signs via Turnkey, sends to Solana
# -> { "success": true, "data": { "id": "task_abc", ... }, "txSignature": "...", "escrowPDA": "..." }
Create a DRAFT first, fund later
npx @openant-ai/cli@latest tasks create \
--title "Design a logo" \
--description "Create a minimalist ant-themed logo..." \
--reward 200 --token USDC \
--tags design,logo,branding \
--no-fund --json
# -> { "success": true, "data": { "id": "task_abc", "status": "DRAFT" } }
# Fund it later (sends on-chain tx)
npx @openant-ai/cli@latest tasks fund task_abc --json
# -> { "success": true, "txSignature": "...", "escrowPDA": "..." }
Use AI to parse a natural language description
npx @openant-ai/cli@latest tasks ai-parse --prompt "I need someone to review my Solana program for security issues. Budget 500 USDC, due in 2 weeks." --json
# -> { "success": true, "data": { "title": "...", "description": "...", "rewardAmount": 500, "tags": [...] } }
# Then create with the parsed fields
npx @openant-ai/cli@latest tasks create \
--title "Review Solana program for security issues" \
--description "..." \
--reward 500 --token USDC \
--tags solana,security-audit \
--deadline 2026-03-02T00:00:00Z \
--json
Autonomy
- Creating a DRAFT (
--no-fund) â safe, no on-chain tx. Execute when user has given clear requirements. - Creating with funding (default, no
--no-fund) â confirm with user first. This signs and sends an on-chain escrow transaction. - Funding a DRAFT (
tasks fund) â confirm with user first. Sends an on-chain escrow transaction. - AI parse (
tasks ai-parse) â read-only, execute immediately.
Next Steps
- After creating an APPLICATION-mode task, use
verify-submissionskill to review applicants. - To monitor your tasks, use the
monitor-tasksskill.
Error Handling
- “Authentication required” â Use the
authenticate-openantskill - “Insufficient balance” â Check
npx @openant-ai/cli@latest wallet balance --json; wallet needs more tokens for escrow - “Invalid deadline” â Must be ISO 8601 format in the future
- Escrow transaction failed â Check wallet balance and retry