terlar/nix-config/ghq-lookup

Claude Code and agent skill by terlar/nix-config

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when you need to read, explore, or reference source code from any Git repository. Use before cloning manually or asking the user for a path.

Install

npx vskill@latest install terlar/nix-config/ghq-lookup

SKILL.md

ghq Lookup

ghq manages remote repository clones under a single root, organized as <root>/<host>/<org>/<repo>. Use it to find and fetch source code instead of cloning manually.

When to Use

  • You need to read or explore source code of a dependency, library, or tool
  • The user references a repo by org/name without providing a path
  • You need the local path to an already-cloned repo
  • Do not use ghq for repos that must live at a specific non-ghq path

Procedure

  1. Check first: ghq list -p <query> — partial match, prints full paths. Use that path directly if found.
  2. Fetch if missing:

``bash ghq get <host>/<org>/<repo> # e.g. ghq get github.com/org/repo ghq get <org>/<repo> # defaults to github.com ghq get -p <org>/<repo> # clone via SSH ghq get --shallow <org>/<repo> # shallow clone for large repos ` Then use ghq list -p <query>` to get the full path.

Quick Reference

TaskCommand
Check if repo exists / get pathghq list -p <query>
Fetch a repoghq get <host>/<org>/<repo>
Fetch via SSHghq get -p <org>/<repo>
Shallow cloneghq get --shallow <org>/<repo>
Update existing repoghq get -u <org>/<repo>

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
104
Repository forks
5
7-day trend score
23

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/terlar/nix-config/ghq-lookup/badge)](https://verified-skill.com/skills/terlar/nix-config/ghq-lookup)

Something wrong with this skill or its page? Tell us.