AgentStack
SKILL unreviewed MIT Self-run

Outlit

skill-outlitai-outlit-agent-skills-outlit · by OutlitAI

Use when accessing Outlit customer intelligence through the `outlit` CLI, Outlit MCP tools, Pi tools, or @outlit/tools, including customer lookups, users, workspace users, timelines, facts, source evidence, semantic search, revenue, churn, SQL analytics, setup, notifications, integrations, or troubleshooting agent access.

No reviews yet
0 installs
5 views
0.0% view→install

Install

$ agentstack add skill-outlitai-outlit-agent-skills-outlit

Open-source listing — not yet scanned by AgentStack. Follow the source repository for install instructions.

Security review

⚠ Flagged

1 finding(s); flagged for manual review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures
  • high Pipes remote content directly into a shell (remote code execution).

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Outlit? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Outlit

Use Outlit to ground customer intelligence work in real customer data. Outlit joins product activity, conversations, billing, support, CRM, and web signals into a customer context graph and timeline for agents.

Choose the Interface

Use the highest-level interface already available:

  1. If outlit_* MCP or Pi tools are present, use those tools.
  2. Else if the outlit CLI is installed, use the CLI.
  3. Else guide setup:
  • Coding agents: install/use the outlit CLI, then run outlit onboard --agent --json first. It starts browser auth when no API key is present outside CI, installs the Outlit skill, checks integration readiness, and prints next actions.
  • Agent skills only: run outlit setup --yes or outlit setup skills.
  • MCP clients: use the workspace MCP URL from Settings > CLI & MCP. Remote MCP uses OAuth in the client; do not hardcode shared endpoints, bearer headers, or API keys into remote MCP config.

Use the outlit-sdk skill instead when the user wants to instrument an application with tracking SDKs.

Quick Chooser

| Need | MCP/Pi tool | CLI | |------|-------------|-----| | Browse customers | outlit_list_customers | outlit customers list | | Browse users/contacts | outlit_list_users | outlit users list | | Browse workspace users | outlit_list_workspace_users | - | | Single account profile | outlit_get_customer | outlit customers get | | Chronology | outlit_get_timeline | outlit customers timeline | | Known structured signals | outlit_list_facts | outlit facts list | | Exact fact | outlit_get_fact | outlit facts get | | Deterministic source enumeration | outlit_list_sources | outlit sources list | | Exact source artifact | outlit_get_source | outlit sources get | | Thematic/fuzzy question | outlit_search_customer_context | outlit search | | Custom analytics | outlit_schema + outlit_query | outlit schema + outlit sql | | Send/post a notification | outlit_send_notification | outlit notify | | Integration status/setup | Use CLI unless explicit tools exist | outlit integrations capabilities/setup/status |

Use customer lookups before SQL. SQL is for aggregates, cohorts, joins, time-series checks, and custom reporting.

Working Rules

  • Start with the highest-level tool that can answer the question.
  • Gather evidence before drawing conclusions.
  • Separate evidence from interpretation in the final answer.
  • Cite the evidence kind: customer record, user record, workspace-user record, timeline event, fact, search result, source record, or SQL result.
  • If data is sparse, stale, or inconsistent, say how that affects confidence.
  • Request only the fields or include sections needed.
  • Results often include timestamps and source attribution; use them.

Facts vs Search vs Sources vs Timeline

  • Use facts list to browse known structured intelligence for one account.
  • Use factTypes for public customer-memory fact classes such as CHURN_RISK, EXPANSION, SENTIMENT, BUDGET, REQUIREMENTS, PRODUCT_USAGE, CHAMPION_RISK, or CONTACT_INFO.
  • Do not request anomaly-detector fact types as public filters, such as CORE_ACTION_DECAY, CADENCE_BREAK, QUIET_ACCOUNT, ACTIVATION_RATE_DROP, or FUNNEL_DROPOFF.
  • Use facts get when you already have a fact ID and need the canonical payload or best-effort evidence.
  • Use search for a specific question/theme, including cross-customer questions. Search returns grouped source and fact artifacts, not raw vector chunks.
  • Use sources list when you need deterministic enumeration of emails, calls, calendar events, support tickets, or CRM opportunities.
  • Use sources get when a fact/search/list result points to a concrete source and you need the exact artifact.
  • Use timeline when order, recency, or sequence matters.

Supported generic source types are EMAIL, CALL, CALENDAR_EVENT, SUPPORT_TICKET, and OPPORTUNITY. CRM and CRM_OPPORTUNITY are accepted aliases for opportunity filters.

Notifications

Notification tools are action tools. Use them only when the user explicitly asks you to send, post, or notify.

  • CLI: outlit notify --title "..." --markdown "...".
  • File input: --payload-file , --markdown-file .
  • Optional context: --message, --severity low|medium|high, --source, --subject.
  • Destinations: --destination slack for the default Slack notifier, or --destination slack: for a specific channel. Use comma-separated destinations for multiple targets.
  • Markdown is the preferred human-readable body; payload can carry JSON-serializable context.

Do not notify by default just because an analysis found risk.

SQL Rules

Call schema before writing SQL.

  • Use public analytics views, not backend table names: activity, customers, users, revenue.
  • Add explicit time filters to event/activity SQL.
  • Use LIMIT.
  • Divide money fields in cents by 100 for display.
  • Inspect JSON/trait column shapes before filtering nested values.
  • Keep SQL read-only.

For ClickHouse syntax and query patterns, read [references/sql-reference.md](references/sql-reference.md).

CLI Setup

Fast install:

curl -fsSL https://outlit.ai/install.sh | bash

Alternative installs:

npm install -g @outlit/cli
brew install outlitai/tap/outlit

Auth resolution order is --api-key, OUTLIT_API_KEY, then stored credentials.

outlit auth login --browser --json
outlit auth login
outlit auth login --key ok_your_api_key
outlit auth status
outlit auth whoami

Agent onboarding:

outlit onboard --agent codex --json
outlit onboard --agent claude-code --json
outlit onboard --agent gemini --json
outlit onboard --agent droid --json
outlit onboard --agent opencode --json
outlit onboard --agent pi --json
outlit onboard --agent openclaw --json
outlit doctor --json

outlit onboard is the first command for coding agents. It resolves an existing API key, starts browser auth when no key is available outside CI, validates the key, installs the Outlit skill for the named agent, checks integration setup readiness, and returns next actions. It does not connect integrations or ask for third-party credentials by itself; use outlit integrations setup for that. If onboard is missing, run outlit upgrade and fall back to the older agent setup commands:

outlit setup --yes
outlit setup codex
outlit setup claude-code
outlit setup gemini
outlit setup droid
outlit setup opencode
outlit setup pi
outlit setup openclaw
outlit setup skills

outlit setup skills opens the interactive Skills installer for outlit and optional extras like outlit-sdk.

CLI Output Behavior

  • Interactive terminal: readable tables, spinners, colors.
  • Piped stdout, --json, CI, or dumb terminal: JSON.
  • Force JSON: --json.

AI agents commonly receive JSON automatically because stdout is piped.

MCP Setup

Get the workspace URL from Settings > CLI & MCP in Outlit. It looks like:

https://mcp.outlit.ai/w//mcp

Add that URL directly to the MCP client and complete OAuth in the client. Verify with outlit_schema or by asking for available analytics views.

Pi and Tool Packages

For Pi agents:

pi install npm:@outlit/pi
export OUTLIT_API_KEY=ok_your_api_key
pi

@outlit/pi registers default customer intelligence tools and notification action tools. SQL tools are available but not enabled by default; use analytical/custom toolsets only for agents that should run read-only SQL.

For custom TypeScript tool clients, use @outlit/tools and its exported customerToolContracts, defaultAgentToolNames, actionToolNames, sqlToolNames, analyticalAgentToolNames, and allCustomerToolNames.

Integrations

Use integration commands only when the user asks to inspect or set up connected data sources. Disconnect integrations through the Outlit web app; the CLI does not expose destructive integration removal.

outlit integrations capabilities --json
outlit integrations capabilities hubspot --json
outlit integrations setup hubspot --json
outlit integrations setup salesforce --json
outlit integrations setup granola --config '{"apiKey":"..."}' --json
outlit integrations setup pylon --config '{"apiToken":"..."}' --json
outlit integrations status --session  --json
outlit integrations status hubspot --json
outlit integrations list --json

Use capabilities before setup. It tells you the provider setupMode, credential type, whether CLI setup is supported, required credential fields, and follow-up steps such as CRM pipeline/stage mapping or webhooks. Provider-specific setup belongs after the provider name, for example outlit integrations setup hubspot and later provider subflows like outlit integrations setup hubspot mappings or outlit integrations setup pylon webhooks.

For browser-based providers, setup returns a connectUrl and sessionId; surface the URL/code to the user when browser approval is required, then poll with outlit integrations status --session --json.

For direct credential providers, pass JSON config and do not expect a session ID:

outlit integrations setup stripe --config '{"apiKey":"rk_..."}' --json
outlit integrations setup pylon --config '{"apiToken":"..."}' --json
outlit integrations setup fireflies --config '{"apiKey":"..."}' --json
outlit integrations setup granola --config '{"apiKey":"..."}' --json
outlit integrations setup posthog --config '{"apiKey":"...","region":"us","projectId":"..."}' --json
outlit integrations setup supabase --config '{"projectUrl":"https://...","serviceRoleKey":"..."}' --json
outlit integrations setup clerk --config '{"secretKey":"sk_..."}' --json

CRM providers can require pipeline/stage mappings after authentication. Run the follow-up command returned by capabilities or setup, such as outlit integrations setup hubspot mappings --json, without config first to fetch available pipelines, then rerun with --config '{"mappings":[...]}' to save mappings and start CRM syncs.

Pylon, Stripe, PostHog, Gong, and other providers can require webhook setup after credentials are connected. Run the follow-up command returned by capabilities or setup, such as outlit integrations setup pylon webhooks --json, to get manual provider setup details such as webhook URL, required headers/secrets, required events, docs links, and current status. Stripe can also accept --config '{"webhookSecret":"whsec_..."}'. These follow-up commands do not use --session.

If capabilities mark a follow-up as unsupported by the CLI, use the Outlit platform settings or ask the user before proceeding.

Troubleshooting

  • Missing API key: run outlit onboard --agent --json for coding agents, or tell the user to set OUTLIT_API_KEY / run outlit auth login --browser --json for non-agent setup.
  • Setup issues: run outlit doctor --json.
  • Stale CLI: run outlit upgrade; set OUTLIT_NO_UPDATE_NOTIFIER=1 to suppress update notices.
  • Missing onboard or integrations capabilities: upgrade the CLI before continuing.
  • MCP auth issues: use the workspace MCP URL and OAuth flow; do not assume API-key-only auth for remote MCP.
  • Empty data: check integrations and sync status before concluding the customer has no activity.

Docs

  • Docs home: https://docs.outlit.ai/
  • CLI overview: https://docs.outlit.ai/cli/overview
  • CLI commands: https://docs.outlit.ai/cli/commands
  • CLI integrations: https://docs.outlit.ai/cli/integrations
  • AI agent setup: https://docs.outlit.ai/cli/ai-agents
  • Agent skills: https://docs.outlit.ai/ai-integrations/skills
  • MCP integration: https://docs.outlit.ai/ai-integrations/mcp
  • Pi agents: https://docs.outlit.ai/ai-integrations/pi
  • Public tools API: https://docs.outlit.ai/api-reference/tools
  • Customer context graph: https://docs.outlit.ai/concepts/customer-context-graph

Common Prompts

  • "What changed for this customer this week?"
  • "Who is paying but inactive for 30 days?"
  • "What pricing objections show up in conversations?"
  • "List recent opportunity sources for Acme."
  • "Which channels are driving revenue?"
  • "Notify Slack with the high-confidence expansion candidates."

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.