cloudaeye/cloudaeye-plugin/ask
Claude Code and agent skill by cloudaeye/cloudaeye-plugin
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Ask a free-form question about the uncommitted changes in this repo and get an answer grounded in the repository's code graph — callers, definitions and usage traces, not just the diff text. Returns an answer, not a review, and never edits code.
Install
npx vskill@latest install cloudaeye/cloudaeye-plugin/askSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as cloudaeye/cloudaeye-plugin/ask.
Queued Result
Submit the analysis once. An answer without job_id is the response itself (report status: error and stop). With a job_id, call mcp__plugin_cloudaeye_cloudaeye__get_job_result(job_id, wait_seconds=110, since=<last progress_id>) again and again, with no pause, while status is queued, running or retrying. The server keeps each call open while the job runs.
- Print
⏳+messageonly whenprogress_idchanged, exactly as given: no
job ids, no "polling", no commentary, never a line the server did not send.
- On
completed, use itsresultas the response below, keeping the
tool's fields. An inner status: error is a refusal, not a clean result.
- If the answer carries
next_run, end with the heading
**To get more from the next run** and each entry as a bullet, exactly as given.
- Stop after 150 calls or 30 minutes and say the job is still running, with its
id. On failed or error, report it and stop. Never submit again to check progress, and finish the job before any edit, upload or other command on the same session.
When to run
The user invoked /cloudaeye:ask, or asked a question about the pending change that you cannot answer confidently from what you have already read. That second case is the important one: the server has the whole repository's AST graph indexed, and you have a context window. Questions worth handing over:
- Blast radius — "what else calls this?", "who depends on this interface?"
- Prior behaviour — "what did this function do before my change?"
- Repo-wide patterns — "is this error handled the same way elsewhere?", "do other callers already do this check?"
- Second opinion on a specific line — "is this lock actually protecting anything?"
Do not use it as a review. It returns no findings and no verdict. If the user wants problems found, that's /cloudaeye:inspect (bugs), /cloudaeye:security (security), or /cloudaeye:review (both).
Steps
- Set up the session.
Run exactly this one command, alone in its Bash call (that is what lets it run without asking the user for permission):
``bash sh ${CLAUDE_PLUGIN_ROOT}/scripts/cae start ``
Its first line is JSON. Call mcp__plugin_cloudaeye_cloudaeye__start_session with every field of that line, unchanged, and keep the answer as SESSION; its session_id is the one every later call takes.
SESSION.gateisrepository: the repository is not connected to CloudAEye yet. Runsh ${CLAUDE_PLUGIN_ROOT}/scripts/cae guide connect-repositoryand follow it.- The tool is unavailable, or
statusiserror: stop and tell the user to authenticate CloudAEye through/mcp. SESSION.upload_neededisfalse: the server already has this exact change. Skip the upload.- Otherwise upload the change: exactly this one command, alone in its Bash call, with
SESSIONas JSON inside single quotes. The script checks the values itself and never prints a token.
``bash sh ${CLAUDE_PLUGIN_ROOT}/scripts/cae upload '<SESSION as JSON>' ``
Read the summary lines — the upload's when it ran, the first command's when it was skipped — and don't re-derive them:
| output | what to do with it | |
|---|---|---|
cloudaeye_error=… | Stop and report it. Never print upload_token or key_token. | |
diff_bytes=0 | No pending changes. Do not stop — unlike the review skills, a question about the existing code is still answerable. | |
base_source=fork_point | The right baseline. Say it in one short line and nothing more, with no code formatting: Baseline: <branch> at its fork point. Nothing more: base_age is how old <branch>'s newest commit is, not the fork point, and on a quiet repository an old one means nothing newer exists. | |
base_source=head | Degraded: only working-tree edits are in the diff. Say so. If SESSION carries setup_required, report its reason and remedy as written; never quote target_branch_error, which names an internal record. | |
upload_http= not 200 | The diff never reached the server. Stop; otherwise a stale result can look clean. |
Which baseline applied must reach the user. Every degradation still produces output that looks correct, so silence about it is the one failure mode that misleads.
- Call CloudAEye's
askMCP tool with:
session_id:SESSION.session_idquestion: the user's question verbatim. Do not summarise it, do not expand it into a "better" question, do not split it into several. The phrasing is what they meant; a rewritten question gets a different answer to a question nobody asked. If the question was implicit in conversation ("wait, does that break the retry path?"), quote it as they said it.intent: optional — one paragraph on what you just changed, if the question is about your edit. Context for the question, not its subject. Write it from your own working context; do not read.cloudaeye/session/session.diffor rungit diffto compose it — the server already has the diff.context: optional — onlypr_title/pr_description.
Call mcp__plugin_cloudaeye_cloudaeye__ask; it is pre-approved in this skill's frontmatter.
You do not need to read the changed source files yourself first — the server has the post-edit contents staged and its own tooling to trace through them.
- Report the response:
- Print the
answerfield as-is. It is plain markdown written to be read directly.
Check context_refresh.status first. On skipped or failed the stored code graph was not refreshed with this diff, so the answer is based on the pre-edit code plus the diff text alone — say so in one line and quote context_refresh.reason. It is usually an expired GitHub installation token, which the user has to fix server-side.
- If the answer names files you have not read and the user's next step depends on them, offer to open them — don't silently re-derive the answer yourself.
files_visitedshows what the answer is grounded in. Surface it when the answer is surprising or the user pushes back, so they can see the basis rather than take it on trust.
Notes
- Single-shot — one question, one answer. If the user has a follow-up, invoke the skill again with the follow-up as the new question; the server resumes the same session.
- The answer can be wrong. It is a model reasoning over a code graph, not a compiler. When it contradicts something you have directly read in the source, say so rather than deferring to it — and prefer the file you read.
- It answers; it does not review. If the answer volunteers problems, that's a bonus, not the contract. Findings come from the review skills.
- Pre-commit: the diff is
git diff(working tree vsHEAD). Committing movesHEAD; the session persists and its recordedheadis refreshed on the next call. - If
askis unavailable (MCP not connected), warn the user and answer from your own context instead, saying that's what you did.
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
- SKILL.md in the repositoryCheckingskills/ask/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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
[](https://verified-skill.com/skills/cloudaeye/cloudaeye-plugin/ask)