跳到正文
TakoAPI
返回技能列表

greptile

由 iahmadzain 提供

Coding Agents & IDEs
475下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  1. 1

    Index the repository with greptile.sh index owner/repo main

  2. 2

    Check index status with greptile.sh status owner/repo until completed

  3. 3

    Run greptile.sh query owner/repo main "How does auth middleware work?" --genius

  4. 4

    Parse the response with jq to extract the answer and source references

输出

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

前置要求

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

安装

clawhub install iahmadzain/greptile

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接