Skip to content

Repository files navigation

Grepr CLI and Agent Plugins

The Grepr command-line tool (@grepr/cli) and agent plugins that let Claude Code and Codex drive it for you.

License

Pick your install


CLI

Requirements

  • Node.js 20.0.0 or higher

Install

npm install -g @grepr/cli

Alternatives:

# Run without installing
npx @grepr/cli --help
# Or with yarn
yarn global add @grepr/cli

Quick start

# Save your organization configuration
grepr --org-name your-org-name config:save myconfig --default
# Query your data
grepr --conf myconfig query --dataset-name "production-logs" --query "level:ERROR"# Create a job from a definition file
grepr --conf myconfig job:create my-job.json

Authentication

The CLI uses OAuth 2.0 with browser-based login. On the first command that requires access, your browser opens to complete the flow. Tokens are cached locally; subsequent commands don't prompt.

Output formats

  • Table — human-readable (default)
  • CSV — for data analysis and spreadsheets
  • JSON — machine-readable (pretty, raw, or compact)

Docs

Full command reference and advanced usage: docs.grepr.ai/cli


Agent Skills

Preview: these skills are in early access. Expect rough edges and please file issues.

Skills for AI coding agents that let them manage your Grepr pipelines, datasets, integrations, and queries through the Grepr CLI — no context-switching to docs, no remembering subcommand syntax.

Requirements

  • Grepr CLI installed and configured (see CLI section above)

First steps

Try these prompts after installing the plugin for your agent:

List my running Grepr pipelines.

Build a grok rule that parses NGINX access logs from my web-api service.

Debug why pipeline <id> isn't producing output.

Query the last hour of error logs from the production-logs dataset.

The agent will pick the right skill, run the CLI, and walk you through the result.

Skills included

CategorySkillWhat it does
RoutercliDispatches to the right specialized skill based on intent
Commandsjob-commandsList, view, create, update, delete jobs/pipelines
Commandsdataset-commandsManage data lake datasets
Commandsintegration-commandsView vendor and storage integrations
Commandsdocs-commandsSemantic search over Grepr documentation
Queriesquery-logsQuery data from datasets with filters and time ranges
Workflowsbuild-pipelineEnd-to-end pipeline build, from requirements to production
Workflowsbuild-grokIterative grok pattern authoring and testing
Workflowsdebug-pipelineTroubleshoot pipelines that aren't producing expected output
Knowledgegrepr-modelCore Grepr concepts (events, jobs, graphs) — no docs lookup needed
Knowledgejob-graph-patternsCommon job graph patterns with examples
Knowledgeoperations-referenceReference for available Grepr sources, transforms, and sinks

Invocation

You can ask for Grepr work in natural language, or reference a skill by name when you want a specific workflow. Claude Code also lists skills by short name (e.g., /build-grok) with a (grepr) annotation in autocomplete; fully-qualified names such as /grepr:build-grok work when disambiguation is needed.


Claude Code plugin

Requirements

  • Claude Code — the CLI, IDE extension, or desktop app
  • Grepr CLI installed and configured (see CLI section above)

Install

In Claude Code:

/plugin marketplace add grepr/cli
/plugin install grepr@grepr-cli

Codex plugin

Requirements

  • Codex CLI, IDE extension, or app
  • Grepr CLI installed and configured (see CLI section above)

Install

codex plugin marketplace add grepr/cli --ref main
codex plugin add grepr@grepr-cli

Updating

CLI:

npm update -g @grepr/cli

Claude Code plugin:

/plugin marketplace update grepr-cli
/plugin install grepr@grepr-cli

Codex plugin:

codex plugin marketplace upgrade grepr-cli
codex plugin add grepr@grepr-cli

Issues and feedback

Bug reports and feature requests go to github.com/grepr/cli/issues. For Grepr platform questions, see docs.grepr.ai or contact support@grepr.ai.


License

Apache-2.0. See LICENSE.

About

No description, website, or topics provided.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages