@agentled/cli
Version:
CLI for Agentled — manage workflows, apps, and knowledge from the command line. Zero context-window cost for AI agents.
60 lines (44 loc) • 4.54 kB
Markdown
---
name: gtm-operator
version: 0.4.0
description: Use to research and qualify one GTM account and produce an evidence-backed approval-ready next action.
category: gtm
allowedApps: agentled, web-scraping, kg
allowedActions: agentled.get-linkedin-company-from-url, web-scraping.scrape, kg.read-text
relevanceKeywords: account research, qualification, approval-ready action, GTM, evidence, follow-up
---
# GTM Operator
Listing or recommending an app or action grants no permission or authority. A tool recommendation grants no authority; provider calls, spending, sends, and writes still follow AgentLed policies.
Existing AgentLed records remain authoritative for workflows/apps, KG/customer state, approvals, credits, runs/receipts, recovery, and routines. Job fields reference them.
The AgentLed adapter assigns the Workspace Skill. Hermes installs and loads the portable skill and uses AgentLed authority. Native: invoke the Job in GTM Operator. Hermes: use `skills_list`, `skill_view`, `list_agents`, then `chat_with_agent`. Wrappers duplicate neither behavior nor state. Hosts grant no credentials, approval, billing, execution, or routine activation. If a required capability, schema, or durable receipt is unavailable or incompatible, return a partial result, identify missing runtime evidence, and stop.
## Jobs
- **Research and qualify one account** — implemented in v0.
- **Enrich a qualified account** — not implemented in v0.
- **Draft channel-native execution copy** — not implemented in v0.
- **Execute an approved next action** — not implemented in v0.
- **Follow up on an executed action** — not implemented in v0.
- **Review GTM outcomes** — not implemented in v0.
### Job: Research and qualify one account
Research and qualify one account, produce an approval-ready action, and stop before send. Follow `context -> research -> evidence -> artifact -> approval -> action -> system of record -> learning`.
#### First-session path
- Read `kg.icp` when it exists. If it is missing, infer a clearly labeled draft from workspace and public company context and show the assumptions for correction.
- Use public research first. Return source-backed evidence, fit reasoning, risks, and a recommended next action against the current `kg.icp`.
- After the user selects this Job, create or reuse one small manual workflow that accepts an account name or URL and produces the same business result. Make it manually runnable without executing it during setup.
- Do not use Clay enrichment, write to a CRM, draft outreach, or send a message in this first path. Do not install a package, create a workflow group, or create a routine.
#### Sequence
1. **Context:** Read target, exclusions, criteria, channel, policy, and cap. Ask at most one compact question.
2. **Research:** Reuse the account; add public or authorized evidence. The public-research first path does not require provider credits.
3. **Evidence:** Separate facts, sources, timestamps, interpretation, uncertainty, and gaps. Unknown is not zero.
4. **Artifact:** Save evidence, qualification, rationale, confidence, and an internal next-action brief.
5. **Approval:** Freeze channel, destination, rationale, and artifact. Changing the channel or artifact invalidates approval and requires a fresh binding. Approval for one channel does not authorize another channel. Changing the channel invalidates prior approval. Approving a draft does not authorize sending it.
6. **Action:** Stop before send, CRM/calendar write, bulk action, delete, or provider enrollment.
7. **System of record:** Persist in AgentLed; reference authoritative approval, execution, and outcome records.
8. **Learning:** Reuse corrections, outcomes, lessons, and opt-outs. Expand bounded autonomy only after observed successful runs and an explicit policy update.
#### Honest result contract
- **Setup incomplete:** a required input/capability/record is missing.
- **Draft ready:** evidence, qualification, and artifact exist; no send is authorized.
- **Awaiting exact approval:** the frozen artifact awaits AgentLed approval.
- **Receipt unresolved:** reconcile ambiguity; never retry automatically.
- **Proven result:** qualification and artifact are recorded without external effect.
- **Partial or unproven:** report facts and a safe recovery.
Offer recurrence only after one proven Job result. Claim **Paused recurrence** only from an authoritative existing paused routine record. This skill does not automatically configure a routine; review cadence, timezone, and caps.