One CLI for AI and external context

Let your agents access models, web search, and enrichment data without bloating context — multiple providers, one interface.

zsh - ~/marmot
# Install
$ npm install -g marmot-sh

# Generate text
$ marmot 'What do Marmots eat?'

# Search the web, then summarize
$ marmot search 'news about apple' \
  | marmot 'make an audio summary' \
  | marmot speak --voice nova

What you can do with Marmot...

Compose agentic workflows from the shell. Keep your main agent's context for the work that matters.

/ 01

Triage your inbox.

Pull a day of mail, hand it to a fast model, surface what actually needs you today.

$ gog gmail search 'newer_than:1d' \
  | marmot 'summarize today's email'
/ 02

Brief any topic.

Search the web and let a cheap model boil the result down to five bullets.

$ marmot search 'news about apple' \
  | marmot 'give me 5 bullet highlights'
/ 03

Run your GTM ops.

Look up a contact, verify the email, draft the intro — one pipe per concern.

$ marmot enrich --type person --email ada@lovelace.io \
  | marmot 'draft a personalized 3-line intro email'
/ 04

Drop into your CI/CD.

Generate commit messages, PR descriptions, and release notes — anywhere `node` runs.

$ gh pr diff $PR \
  | marmot 'write a 3-bullet PR description'

Built for agents.

Only one skill, and your agent can access many models, search, and data providers.

$ npx skills add https://github.com/marmot-sh/marmot --skill marmot

What's in the box.

Presets

Save the flag bundles you reach for. Run them with --preset or @name.

Caching

Skip duplicate calls. Cached responses return instantly, free.

Sessions

Track logs and messages across calls. Off by default.

Chat mode

Build context turn by turn. Compact when it gets long.

Try Marmot now.

$ npm install -g marmot-sh
$ marmot setup