LaunchKit · 2026
Back to Skills

greptile

Query, search, and manage repositories indexed by Greptile (AI codebase intelligence)

0
475 downloads
by @iahmadzain

Setup & Installation

openclaw skills install @iahmadzain/greptile

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install greptile

Version History

v1.0.1Feb 15, 2026 - Version note by skill developer:

Fix: declare all runtime requirements (GITHUB_TOKEN, gh CLI) in metadata to match SKILL.md docs

What This Skill Does

Wraps the Greptile REST API to index, query, and search codebases using AI-powered understanding. Supports GitHub and GitLab repositories, returning answers with source file references or ranked code snippets with line numbers.

Greptile provides AI answers grounded in actual source code with file and line citations, unlike general-purpose LLMs that may hallucinate code structure.

When to use it

  • Ask how authentication works in an unfamiliar repo
  • Find all files handling payment processing logic
  • Index a new repo before a code review session
  • Check whether Greptile has finished processing a large repository
  • Get file and line references for a specific code pattern

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: How does the auth middleware work in my API repo?

AGENT
  1. 1Index the repository with `greptile.sh index owner/repo main`
  2. 2Check index status with `greptile.sh status owner/repo` until completed
  3. 3Run `greptile.sh query owner/repo main "How does auth middleware work?" --genius`
  4. 4Parse the response with jq to extract the answer and source references
OUTPUT

AI-generated explanation of the auth middleware with references to specific files and line numbers

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

GREPTILE_TOKEN environment variable (from app.greptile.com)GITHUB_TOKEN or GitLab personal access token with repo access