/iternal-agents:iternal-agentsfrom iternal-agents
Create and manage agents, schedules, knowledge bases (RAG), and external-tool connections on the hosted ITERNAL Agent Platform via a personal access token. Use when the user wants to build, configure, schedule, or tear down an ITERNAL agent/app as an end-user — e.g. "make an ITERNAL agent that …", "schedule my agent weekly", "add docs to my agent's knowledge base", "connect Google Drive to my agent". NOT for editing this repo's platform source code. Wraps the `iternal` CLI.
Ships in iternal-agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Build and operate agents on the ITERNAL Agent Platform with the iternal CLI. An "agent" is an
app with a prompt, a model, optional tools (built-in + external SaaS via Composio), an optional
knowledge base, and optional schedules. This drives the live platform via a PAT — it is not for
editing the platform's own source code.
Shell state does not persist between commands, so the token must be present on each invocation. Either pass it inline:
ITERNAL_TOKEN="itl_pat_…" node cli/iternal.mjs agents list
…or write an env file once and source it in the same command as each call:
printf 'export ITERNAL_TOKEN=%q\nexport ITERNAL_API_URL=%q\n' "itl_pat_…" "https://agents-iternal.icmserver008.com" > .iternal.env
source .iternal.env && node cli/iternal.mjs agents list
ITERNAL_API_URL defaults to production; use http://localhost:3001 for local dev.npm link in cli/ installs an iternal command so you can drop node cli/iternal.mjs.iternal agents list | get <id> | delete <id>
iternal agents create --name "Name" [--prompt "…"] [--model deepseek-v4] [--description "…"]
[--tool "Browse Web"]… [--composio GOOGLEDRIVE_CREATE_FILE_FROM_TEXT]…
[--output-schema '{"type":"object","properties":{…}}'] # → agent returns JSON
iternal agents update <id> [--name "…"] [--prompt "…"] [--model "…"] [--description "…"] [--output-schema '{…}']
iternal schedule <agentId> --name "…" --instruction "…" --interval WEEKLY
iternal tasks list <agentId> | delete <agentId> <taskId>
iternal knowledge upload <agentId> --name doc.md [--text "…" | --file ./doc.md | --url https://…]
iternal knowledge list <agentId> | delete <agentId> <sourceId>
iternal composio tools | connections | connect <toolkit|slug>
iternal triggers create <agentId> --name "…" --type … --action … [--config '{…}'] | list <agentId> | delete <agentId> <triggerId>
iternal workflows list | create --name "…" --steps '[{"appId":"…"},…]' | run <id> [--input "…"]
| status <runId> | runs <id> | delete <id>
iternal templates list | create <templateId> [--name "…"]
iternal embed <agentId> [--size small|medium|large] [--position bottom-right|bottom-left]
iternal models
iternal templates list shows ~31 prebuilt agents; iternal templates create <id>
spins one up (optionally --name to rename). Fastest way to stand up a working agent.iternal triggers create <agentId> --name … --type T --action A --config '{…}'.
--type: CONVERSATION_ENDED | DATA_CAPTURED | KEYWORD_DETECTED | TIME_DELAY.
--action + --config: WEBHOOK {"url":"…","headers":{…}} | SLACK_WEBHOOK {"webhookUrl":"…"} |
EMAIL {"to":"…","subject":"…"} | LOG_EVENT {} | START_AGENT {"targetAppId":"…"}.
DATA_CAPTURED/KEYWORD_DETECTED take --conditions (e.g. '[{"keywords":["refund"]}]'); TIME_DELAY takes --delay <seconds>.iternal embed <agentId> prints the website widget code (floating-bubble script + inline
iframe) to paste into a site. --size and --position adjust it.iternal workflows create builds a multi-step pipeline over EXISTING
agents with typed hand-off (agents with an output schema pass validated JSON). Step fields:
inputTemplate ({{input}}/{{previous}}/{{steps.<id>}}/{{item}}), routeKey+routes
(conditional routing; a backward route forms a loop, capped by maxVisits, default 5),
branches (parallel fan-out, joined JSON object), forEach (one worker per item of the previous
step's JSON list), next: null (end here). workflows run is async — poll workflows status <runId>.
(Trigger-chained agents via START_AGENT are a separate, event-driven mechanism.)--tool names must be exact: Browse Web, URL Retrieval, Search Knowledge Base,
Read Document, Image Recognition, Analyse Visual, Document OCR (Google Vision handwriting/
document OCR), Image Generation, Video, Scheduled Tasks (repeatable). A wrong name is
rejected — always read the create output: confirm each tool is in the — tools: line, and
that there is no WARNING: rejected … line.--composio slugs: discover valid ones with iternal composio tools (or the
platform's Connect UI). Don't invent slugs — confirm an unfamiliar one with the user. Default model
is deepseek-v4 when --model is omitted (iternal models lists them).# 1) create + enable tools — CHECK the output for any "WARNING: rejected"
iternal agents create --name "AR Finder" \
--prompt "Search the web for recent AR articles and save a brief to Google Drive. Complete autonomously." \
--tool "Browse Web" --composio GOOGLEDRIVE_CREATE_FILE_FROM_TEXT
# → Created agent "AR Finder" (cmr0…)
# 2) connect the Composio toolkit (one-time OAuth) — give the user the URL to authorize
iternal composio connect googledrive
# 3) schedule it
iternal schedule cmr0… --name "Weekly AR brief" \
--instruction "Find recent AR articles, write a brief, save to Drive." --interval WEEKLY
GOOGLEDRIVE_… → googledrive,
GMAIL_… → gmail); composio connect accepts either form. The OAuth authorize step can't be
automated — the user opens the returned URL. A scheduled agent using an unconnected Composio
tool silently returns auth_required and nothing visibly fails, so connect before scheduling
and verify with iternal composio connections.agents update changes name/prompt/model/description but can't
remove tools.upload returns immediately; check iternal knowledge list for
status: COMPLETED before relying on retrieval.agents delete and knowledge delete are permanent — confirm with the user first..pdf/.txt/.md/.csv/.json; --file/--url are guarded (no reading
arbitrary local files, no private/loopback URLs).A PAT carries full account access — keep it secret; revoke it from Settings if leaked. The same operations are also available via the ITERNAL MCP server for MCP clients.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub iternalengineering/ccplugins --plugin iternal-agents