Skip to content
Agentmart
Submit a tool

consult

Strategic guidance from the advisor model on a question, with optional focus area and depth.

Skill by fjwood69

IndexedAGPL-3.0★ 32
Write a review

Chalk Labs

Need help deploying consult?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/fjwood69-consult

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Strategic guidance from the advisor model on a question, with optional focus area and depth. Use before consequential decisions or to review a plan.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/consult

What's inside

Skill name
consult
Description
Strategic guidance from the advisor model on a question, with optional focus area and depth. Use before consequential decisions or to review a plan.
License
AGPL-3.0
Instructions
98 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

## Argument Parsing

Parse the user's input for:
- First positional argument → `question`
- `--focus`: one of `general`, `architecture`, `security`, `performance`, `style`
- `--depth`: one of `quick`, `balanced`, `deep`
- `--file` / `-f`: file path(s) to include as context

## Attachment verification (Part 2.1 — fail-loud)

Before calling `mori-consult_advisor`, scan the question text for attachment references:
- Explicit `(attached: <name>)` patterns
- Instructions matching a read-the-source intent: "attached", "READ the", "read the actual",
  "source read", "vs pin", "primary source", "primary-source"

For each referenced file: verify it exists on disk. If **any** referenced file is absent, **abort —
do not call `mori-consult_advisor`** — and report:

```
CONSULT ABORTED: attached file(s) missing from payload:
  - <path>  (referenced in question but not found on disk)
Fix: pass --file <path> or ensure the file exists before consulting.
```

After verifying (or if no attachment references), append a manifest line to the context:

```
ATTACHED FILES: <name1> (<bytes>B), <name2> (<bytes>B)
```

or `ATTACHED FILES: none` if no files were supplied.

## Source-dependence classification (Part 2.2 — mode-integrity)

A consult is **source-dependent** if the question contains any attachment reference OR `--file`
arguments were supplied.

## Depth enforcement

If `--file` arguments were supplied, `--depth` MUST be `deep`. If the user passed `quick`
or `balanced` (or omitted `--depth`), silently coerce to `deep` and prepend a one-line note
to your response:

```
Note: depth coerced to deep — --file requires full analysis budget.
```

## File content injection (client-side)

If `--file` arguments were supplied and all files passed verification:

For each path, use the CC `Read` tool to read the file content **client-side**. Build a list of
objects for the `file_contents` parameter:

```json
[{"name": "path/to/file.py", "content": "<file text>"}, ...]
```

Record each file's name and byte count (bytes = `len(content)`) for the `ATTACHED FILES:` manifest.
Keep the manifest (and any other non-file background) in the `context` parameter — **do not**
paste full file bodies into `context`.

**Do NOT pass raw paths in `files=`** — the MCP server runs on remote GCE; local filesystem
paths are inaccessible there. Always pass `files=[]`; file bodies arrive via `file_contents`.

## Execution (async submit + poll)

`consult_advisor` is **non-blocking**: it returns a `job_id` immediately. Deep consults can take
up to ~300s of Bifrost inference (round-trip often 400–450s). Poll until done.

1. Run attachment verification. Abort loudly if any referenced file is missing.
2. Classify source-dependence.
3. Read each `--file` path client-side; build `file_contents`; append `ATTACHED FILES:` to `context`.
4. Call `mori-consult_advisor` with `question`, `context`, `focus`, `depth`, `files=[]`, and
   `file_contents=[...]` (or omit / pass `[]` when no files).
5. Parse the JSON response: `{"job_id": "...", "status": "pending"}`.
6. Poll `mori-consult_status` with that `job_id` every **30–60 seconds** (minimum 30s —
   even small-file consults commonly take ~2 minutes of Bifrost latency; polling faster
   just burns tool calls) until:
   - `{"status": "done", "result": "<advice>"}` → present `result`
   - `{"status": "error", "error": "..."}` → report the error loudly
   - **Deadline** (~**10 minutes** for deep; ~4 minutes for quick/balanced) → fail with timeout
7. Present the advice (or the failure).

**On job not found:** in-memory jobs are wiped on server restart/CD — resubmit; do not invent advice.

**On error or empty response:**
- **Not source-dependent**: retry once with `--depth quick` (new submit + poll).
- **Source-dependent**: do NOT fall back. Return:

```
CONSULT UNAVAILABLE (source-dependent; fallback would be source-blind).
Options: retry manually, postpone, or proceed without consultation (disclose this).
```

Empty deep-mode responses must surface as `EMPTY_RESPONSE (elapsed: Xs)` — not silent success.

From fjwood69/mori, AGPL-3.0.

Signals

Stars
32
Forks
5
Open issues
14
Last commit (this folder)
Jul 23, 2026 (3 months ago)
Last release
Oct 3, 2026 (29 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
AGPL-3.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from fjwood69

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get consult running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying consult?

CallGet help
Cite this page

consult skill. Agent Mart. https://agentmart.dev/skills/fjwood69-consult (last updated 2026-10-24)