CLI for the Day of Week AgTech platform.
Read your organization's data and submit proposals for human review — nothing changes until you approve it.
npm install -g @dayofweek/dcli# Authenticate
dcli auth set-token <your-token>
# Browse your entities
dcli read entities --json
# Submit a proposal
dcli agent propose --op create --table hierarchyEntities \
--title "New Farm" --source "my-agent" \
--parent <parentEntityId> --entity-type Farm \
--file payload.json
# Check proposal status
dcli agent proposals --status pending# Install the Agent Skill for AI agents
dcli skill install
# Works with OpenClaw, Claude Code, Cursor, VS Code Copilot,
# Gemini CLI, Goose, OpenHands, and 25+ othersThe skill follows the open Agent Skills standard. After dcli skill install, any compatible agent on the machine discovers it automatically.
dcli auth login— Authenticate via browserdcli auth set-token <token>— Save a token locallydcli auth status— Check token healthdcli auth devices— List your agent tokensdcli auth create-token <name>— Create an agent tokendcli auth revoke <id>— Revoke a token
dcli read entities [--type Farm] [--parent <id>] [--limit 50]dcli read entity <entityId>dcli read produce [--entity <id>]dcli read contacts [--entity <id>]
dcli agent propose --op create --table <table> --title <title> [--file payload.json]dcli agent propose-batch --label <label> --file batch.jsondcli agent proposals [--status pending]dcli agent show <proposalId>
dcli skill install— Download skill (requires auth)dcli skill update— Update to latestdcli skill status— Check installed version
dcli stores its config at ~/.config/dayofweek/dcli.json.
Environment variables:
DCLI_AUTH_TOKEN— Auth token (overrides stored token)DCLI_API_URL— Custom API base URL
dcli talks to the Day of Week platform via a REST API. You can also call it directly:
curl -H "Authorization: Bearer dsk_xxx" \
"https://field.dayofweek.com/app/api/dcli/entities?type=Farm"See the API schema for all endpoints.
MIT