Rtk Skill
sopaco/deepwiki-rs
A skill your agent uses when running shell commands that produce verbose output (git, test, build, lint, package managers, docker).
Terrain Ask — query knowledge via terrain CLI when Agent execution mode is ACP.
$ npx skills add sopaco/terrain --skill terrain-ask-skill -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sopaco/terrain terrain-ask-skill --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/sopaco/terrain.git skills-src && mkdir -p .claude/skills && cp -r skills-src/preset_skills/terrain-ask-skill .claude/skills/terrain-ask-skill && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "terrain-ask-skill" agent skill from https://github.com/sopaco/terrain/tree/main/preset_skills/terrain-ask-skill into .claude/skills/terrain-ask-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "terrain-ask-skill", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/sopaco/terrain/tree/main/preset_skills/terrain-ask-skillType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add sopaco/terrain --skill terrain-ask-skill -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sopaco/terrain terrain-ask-skill --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sopaco/terrain.git skills-src && mkdir -p .agents/skills && cp -r skills-src/preset_skills/terrain-ask-skill .agents/skills/terrain-ask-skill && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "terrain-ask-skill" agent skill from https://github.com/sopaco/terrain/tree/main/preset_skills/terrain-ask-skill into .agents/skills/terrain-ask-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "terrain-ask-skill", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sopaco/terrain --skill terrain-ask-skill -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sopaco/terrain terrain-ask-skill --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sopaco/terrain.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/preset_skills/terrain-ask-skill .cursor/skills/terrain-ask-skill && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "terrain-ask-skill" agent skill from https://github.com/sopaco/terrain/tree/main/preset_skills/terrain-ask-skill into .cursor/skills/terrain-ask-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "terrain-ask-skill", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/sopaco/terrain.git --path preset_skills/terrain-ask-skill--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add sopaco/terrain --skill terrain-ask-skill -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sopaco/terrain terrain-ask-skill --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sopaco/terrain.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/preset_skills/terrain-ask-skill .gemini/skills/terrain-ask-skill && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "terrain-ask-skill" agent skill from https://github.com/sopaco/terrain/tree/main/preset_skills/terrain-ask-skill into .gemini/skills/terrain-ask-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "terrain-ask-skill", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install sopaco/terrain terrain-ask-skillInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add sopaco/terrain --skill terrain-ask-skill -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sopaco/terrain.git skills-src && mkdir -p .github/skills && cp -r skills-src/preset_skills/terrain-ask-skill .github/skills/terrain-ask-skill && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "terrain-ask-skill" agent skill from https://github.com/sopaco/terrain/tree/main/preset_skills/terrain-ask-skill into .github/skills/terrain-ask-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "terrain-ask-skill", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sopaco/terrain --skill terrain-ask-skill -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sopaco/terrain terrain-ask-skill --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sopaco/terrain.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/preset_skills/terrain-ask-skill .opencode/skills/terrain-ask-skill && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "terrain-ask-skill" agent skill from https://github.com/sopaco/terrain/tree/main/preset_skills/terrain-ask-skill into .opencode/skills/terrain-ask-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "terrain-ask-skill", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
terrain-ask-skillTerrain Ask — query knowledge via terrain CLI when Agent execution mode is ACP.
Terrain Ask Skill is an agent skill from sopaco/terrain. Terrain Ask — query knowledge via terrain CLI when Agent execution mode is ACP.
Its SKILL.md is about 930 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development. It works with Git, Bash and Bun. The repository describes itself as: AI-native engineering environment management that makes your codebase agent-ready. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 42f7e72. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bunxnpxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use bunx and npx, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Terrain Ask Skill loads about 926 tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 315 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from sopaco/terrain at commit 42f7e72, republished under its MIT licence (© sopaco). 315 words, ~926 tokens.
.claude/skills/terrain-ask-skill/SKILL.md (or your agent's skills folder).When Terrain runs in ACP Agent execution mode, built-in function tools are unavailable for Ask. Use the terrain tools CLI to access the same knowledge layers.
Use conventional paths only — never machine-specific absolute paths like /Users/....
On Windows, tools deploy to %USERPROFILE%\.terrain\bin\ (also ~/.terrain/bin/ in Git Bash / PowerShell 7+). Binaries use .exe extensions.
| Priority | Command | When |
|---|---|---|
| 1 | ~/.terrain/bin/terrain | Terrain desktop / env integration (see existence check below) |
| 2 | bunx @terrain-ai/cli | No Terrain install; needs network once |
| 3 | npx @terrain-ai/cli | Same as bunx if Bun unavailable |
Existence check:
| Shell | Check |
|---|---|
| bash / Git Bash | [ -x ~/.terrain/bin/terrain ] || [ -x ~/.terrain/bin/terrain.exe ] |
| PowerShell | Test-Path "$HOME\.terrain\bin\terrain.exe" |
In examples below, <terrain> means your resolved prefix (~/.terrain/bin/terrain or bunx @terrain-ai/cli).
Each project's knowledge lives at {repo}/.terrain/ (versioned with the repository). The desktop app keeps a local registry at ~/.terrain/registry.json — only repo pointers, not knowledge files.
| Variable | Purpose |
|---|---|
TERRAIN_KNOWLEDGE_ROOT | Current project's .terrain/ directory |
TERRAIN_PROJECT_SLUG | Current project slug |
TERRAIN_REPO_PATH | Repository root (for citations) |
TERRAIN_ASK_SKILL | Ask skill directory |
CLI without Terrain UI: run inside a Git workspace, or pass --repo-path / set TERRAIN_REPO_PATH.
| Layer | CLI | When |
|---|---|---|
| Macro | (preloaded in prompt) | Architecture overview — answer from prompt first |
| Meso | terrain tools read-context | One section of agent/context.md |
| Micro | grep-pack → read-pack-file | Source code from repomix pack |
Never read the live repository filesystem. The repomix pack is authoritative for code.
All commands output JSON to stdout.
# From repository root (auto-detects workspace), or:
# <terrain> --repo-path /path/to/repo tools ...
# List indexed projects
<terrain> tools list-projects
# Repomix pack metadata
<terrain> tools pack-meta --project {slug}
# Grep agent/repomix.md
<terrain> tools grep-pack --project {slug} --pattern "struct Foo"
# Read a file slice from the pack (≤150 lines recommended)
<terrain> tools read-pack-file --project {slug} --file src/main.rs --start-line 1 --end-line 80
# Architecture context (optional section)
<terrain> tools read-context --project {slug}
<terrain> tools read-context --project {slug} --section "核心流程"
# Human / structured docs (paths relative to .terrain/)
<terrain> tools search --query "authentication" --project {slug}
<terrain> tools read-doc --project {slug} --path human/1.概述.mdread-context --section "…".grep-pack with a focused pattern, then read-pack-file with line range.src/foo.rs:42 from pack line numbers.read-pack-file: pass --start-line and --end-line; max ~150 lines per call.search: limit 5–10 hits for Ask.repomix.md.© sopaco, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in preset_skills/terrain-ask-skill of sopaco/terrain.
Open the folder on GitHubat commit 42f7e72
Terrain Ask Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Terrain Ask Skill this skillsopaco/terrain | 256 | — | ~926 | Automated safety check: Pass | MIT | |
| Rtk Skillsopaco/deepwiki-rs | 3.1k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Dirextalk DeployerYingSuiAI/dirextalk-deployer | 457 | — | ~7.2k | Automated safety check: Pass | MIT | |
| Cursor Composer Task DelegateChachamaru127/claude-code-harness | 3.2k | — | ~4.4k | Automated safety check: Notes | MIT | |
| Gridbash Panesjasonsuhari/gridbash | 134 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Niubashunixwin/niubash | 158 | — | ~2.1k | Automated safety check: Pass | MIT |
sopaco/deepwiki-rs
A skill your agent uses when running shell commands that produce verbose output (git, test, build, lint, package managers, docker).
YingSuiAI/dirextalk-deployer
Deploy, resume, verify, update, recover, reset, or destroy production Dirextalk services and nodes on AWS, and wire local agent runtimes.
Chachamaru127/claude-code-harness
Hands one implementation task to Cursor Composer in an isolated git worktree, then reviews its diff and cherry-picks the result into the main branch.
jasonsuhari/gridbash
Coordinate with sibling agent panes from inside a GridBash grid — list panes and their roles, read what a pane is currently doing, prompt one pane or every other pane, and rename pane titles so the…
unixwin/niubash
Run Windows tasks in Niubash, the GNU Bash-compatible Windows-native shell.
YingSuiAI/dirextalk-deployer
Deploy, resume, verify, update, recover, reset, or destroy production Dirextalk services and nodes on AWS.
sopaco/terrain
This skill should be used when the user asks to "generate project documentation", "analyze codebase architecture", "create C4 architecture diagrams", "document a repository", "generate technical…
sopaco/terrain
Generate architecture-level agent context (no code细节) for Terrain projects.
sopaco/terrain
A skill your agent uses when a coding agent needs project source context from Terrain agent assets.
sopaco/terrain
Terrain SDD standardized workflow — requirement clarification, technical design, code generation, and code review.
Categories
Terrain Ask — query knowledge via terrain CLI when Agent execution mode is ACP. Terrain Ask Skill is an agent skill from sopaco/terrain. Terrain Ask — query knowledge via terrain CLI when Agent execution mode is ACP.
Terrain Ask Skill fits situations like: development work in your project.
Run `npx skills add sopaco/terrain --skill terrain-ask-skill -a claude-code`. Or copy the skill folder (preset_skills/terrain-ask-skill in sopaco/terrain) into .claude/skills/terrain-ask-skill in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sopaco/terrain --skill terrain-ask-skill -a codex`. Or copy the skill folder (preset_skills/terrain-ask-skill in sopaco/terrain) into .agents/skills/terrain-ask-skill in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sopaco/terrain --skill terrain-ask-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/terrain-ask-skill, .gemini/skills/terrain-ask-skill, .github/skills/terrain-ask-skill and .opencode/skills/terrain-ask-skill in your project.
Going by SKILL.md and its folder, Terrain Ask Skill needs the command-line tools its instructions call (bunx and npx). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Terrain Ask Skill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 926 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Terrain Ask Skill: Rtk Skill (sopaco/deepwiki-rs, 3.1k stars), Dirextalk Deployer (YingSuiAI/dirextalk-deployer, 457 stars), Cursor Composer Task Delegate (Chachamaru127/claude-code-harness, 3.2k stars) and Gridbash Panes (jasonsuhari/gridbash, 134 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
sopaco (a GitHub user) maintains it in sopaco/terrain, which has 256 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 9, 2026.
Source: sopaco/terrain on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.