# Send Greptile to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "greptile",
    "name": "Greptile",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/iAhmadZain/greptile",
    "canonicalUrl": "https://clawhub.ai/iAhmadZain/greptile",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/greptile",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=greptile",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "_meta.json",
      "scripts/greptile.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "greptile",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T00:18:23.457Z",
      "expiresAt": "2026-05-11T00:18:23.457Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=greptile",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=greptile",
        "contentDisposition": "attachment; filename=\"greptile-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "greptile"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/greptile"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/greptile",
    "downloadUrl": "https://openagent3.xyz/downloads/greptile",
    "agentUrl": "https://openagent3.xyz/skills/greptile/agent",
    "manifestUrl": "https://openagent3.xyz/skills/greptile/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/greptile/agent.md"
  }
}
```
## Documentation

### Greptile Skill

Query and manage Greptile-indexed repositories via the REST API.

### Setup

Required environment variables:

GREPTILE_TOKEN — Greptile API token (from https://app.greptile.com)
GITHUB_TOKEN — GitHub PAT with repo access (alternatively set GREPTILE_GITHUB_TOKEN, or authenticate via gh auth login — the script falls back to gh auth token)

### Commands

All commands use scripts/greptile.sh (resolve path relative to this skill directory).

### Index a repository

scripts/greptile.sh index owner/repo [branch] [--remote github|gitlab] [--no-reload] [--no-notify]

Default branch: main. Use --no-reload to skip re-indexing if already processed.

### Check index status

scripts/greptile.sh status owner/repo [branch] [--remote github|gitlab]

Returns: status (completed/processing/failed), filesProcessed, numFiles.

### Query a codebase (AI answer + sources)

scripts/greptile.sh query owner/repo [branch] "How does auth work?" [--genius] [--remote github|gitlab]

--genius — slower but smarter analysis (good for PR reviews, architecture questions)
Returns: AI-generated answer + source file references with line numbers

### Search a codebase (sources only, no AI answer)

scripts/greptile.sh search owner/repo [branch] "payment processing" [--remote github|gitlab]

Returns: ranked list of relevant files, functions, and snippets with line numbers.

### Tips

Always index a repo before querying/searching it. Check status to confirm indexing is complete.
Use query --genius for complex questions (architecture, PR review context, cross-file analysis).
Use search when you just need file locations without an AI explanation.
For GitLab repos, pass --remote gitlab.
Pipe output through jq for formatting: scripts/greptile.sh query ... | jq .
Multi-repo queries: not supported by the wrapper; use the API directly with multiple repositories in the body.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: iAhmadZain
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T00:18:23.457Z
- Expires at: 2026-05-11T00:18:23.457Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/greptile)
- [Send to Agent page](https://openagent3.xyz/skills/greptile/agent)
- [JSON manifest](https://openagent3.xyz/skills/greptile/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/greptile/agent.md)
- [Download page](https://openagent3.xyz/downloads/greptile)