Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

greptile

bởi iahmadzain

Coding Agents & IDEs
475Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

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

Cài đặt

clawhub install iahmadzain/greptile

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết