Skip to main content

Install the CLI

1

Install via npm

npm install -g @trigify/cli
Requires Node.js 20 or newer.
2

Verify installation

trigify --version
3

Authenticate

trigify login
This opens your browser to sign in with your Trigify account. Credentials are stored securely and refresh automatically.
4

Confirm identity

trigify whoami

API Key Authentication (CI / Scripts)

For non-interactive environments, use an API key instead of OAuth:
TRIGIFY_API_KEY=trig_your_key trigify search list
Or pass it as a flag:
trigify --api-key trig_your_key search list
Create an API key in Settings → API Keys.

Update the CLI

Re-run the install command to get the latest version:
npm install -g @trigify/cli

Uninstall

npm uninstall -g @trigify/cli
Stored credentials are at ~/.config/trigify/credentials.json — delete this file to remove cached tokens.

Agent Skills

Give your AI coding agent expert knowledge of Trigify operations — search design, workflow building, enrichment, and more. The skill activates automatically when you mention Trigify tasks.

Claude Code

Claude Code discovers skills from .claude/skills/ directories in your project. Run this in your project root to install the full skill (including reference guides):
git clone https://github.com/trigify/skills.git .claude/skills/trigify
To update later: cd .claude/skills/trigify && git pull

Cursor

Cursor, Windsurf, Copilot, and Cline use single-file custom instructions. Use SKILL-FULL.md which bundles all reference guides into one file:
mkdir -p .cursor/rules
curl -sL https://raw.githubusercontent.com/trigify/skills/main/SKILL-FULL.md > .cursor/rules/trigify.mdc

Windsurf

curl -sL https://raw.githubusercontent.com/trigify/skills/main/SKILL-FULL.md >> .windsurfrules
Or paste into Windsurf Settings → Rules.

GitHub Copilot

mkdir -p .github
curl -sL https://raw.githubusercontent.com/trigify/skills/main/SKILL-FULL.md >> .github/copilot-instructions.md

Cline

Paste the contents of SKILL-FULL.md into Custom Instructions, or:
curl -sL https://raw.githubusercontent.com/trigify/skills/main/SKILL-FULL.md >> .clinerules

Any other agent

Download the bundled skill file and paste into your agent’s custom instructions:
curl -sL https://raw.githubusercontent.com/trigify/skills/main/SKILL-FULL.md
See the full skills repository for details.