🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

Indices

by @itsaphel

Use this skill for any operation with the Indices CLI — authentication, tasks, runs, and secrets.

Versionv0.0.1
Downloads848
TERMINAL
clawhub install indices

📖 About This Skill


name: indices description: Use this skill for any operation with the Indices CLI — authentication, tasks, runs, and secrets.

Indices CLI

Global Flags

Available on every command:

  • --output markdown|json (default: markdown) — use json for scripting
  • --api-base (default: https://api.indices.io)
  • --timeout (default: 30)

  • Auth

    indices login                          # prompts securely for API key
    indices login --api-key ""        # non-interactive
    indices auth-test                      # verify stored credentials
    indices logout                         # remove stored API key
    


    Tasks

    Create

    indices tasks create \
      --display-name "Apply to jobs" \
      --website "https://jobs.example.com" \
      --task "Fill and submit the form"
    

    > Never set is_fully_autonomous to true.

    After creation, the task requires manual completion in a browser. Direct the user to https://platform.indices.io/tasks/{task_id} (substituting the actual task ID).

    Flags: --display-name (required), --website (required), --task (required), --input-schema, --output-schema, --creation-params

    JSON input (alternative to flags)

    indices tasks create --body '{"display_name":"...","website":"...","task":"..."}'
    indices tasks create --file ./task.json
    cat task.json | indices tasks create
    

    Rules: use at most one of --body, --file, --stdin; do not mix with argument-mode flags.

    List / Get / Retry / Regenerate / Delete

    indices tasks list
    indices tasks list --status ready --limit 20   # statuses: not_ready | waiting_for_manual_completion | ready | failed
    indices tasks get 
    indices tasks retry 
    indices tasks regenerate-api 
    indices tasks delete                # prompts for confirmation
    indices tasks delete  --yes
    

    Note: --cursor is unsupported and returns an error.


    Runs

    Create

    indices runs create \
      --task-id "" \
      --arguments '{"key":"value"}' \
      --secret-bindings '{"login":""}'
    

    Flags: --task-id (required), --arguments , --secret-bindings

    JSON input follows the same rules as tasks create.

    List / Get

    indices runs list --task-id         # --task-id required
    indices runs list --task-id  --limit 20
    indices runs get 
    


    Secrets

    indices secrets create MY_SECRET --value "..."   # explicit value
    echo "..." | indices secrets create MY_SECRET --stdin
    indices secrets create MY_SECRET                 # prompts securely
    indices secrets list
    indices secrets delete              # prompts for confirmation
    indices secrets delete  --yes
    

    Empty secret values are rejected.