grafel-consult
Hire a specialist consultant (architect, security-auditor, business-analyst, performance-reviewer, refactor-critic, api-designer, data-engineer, qa-reviewer)…
Skill by cajasmota
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/cajasmota-grafel-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.
About
Use cases: backend, testing, data, security
Reviews
Write a reviewNo 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 26, 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/grafel-consult
What's inside
- Skill name
grafel-consult- Description
- Hire a specialist consultant (architect, security-auditor, business-analyst, performance-reviewer, refactor-critic, api-designer, data-engineer, qa-reviewer) to converse with you about the indexed codebase. Interactive, one consultant active at a time, Consult-Out to peers when needed.
- License
- MIT
- Instructions
- 261 lines in SKILL.md · view on GitHub
Files (13)
- SKILL.md
- api-designer.md · personas/
- architect.md · personas/
- business-analyst.md · personas/
- compliance-officer.md · personas/
- data-engineer.md · personas/
- devops-reviewer.md · personas/
- dx-engineer.md · personas/
- performance-reviewer.md · personas/
- qa-reviewer.md · personas/
- refactor-critic.md · personas/
- security-auditor.md · personas/
- solutions-architect.md · personas/
SKILL.md (first lines)
# grafel-consult
Interactive consultant skill. The user **hires** one specialist persona at a time; that persona becomes the active consultant for the conversation and answers the user's questions using the grafel knowledge graph + generated tech docs as its primary navigation surface.
This is **not** an auto-fan-out skill. It does not run all 8 personas in batch. It does not produce a synthesis report. It does not auto-save findings. See `docs/architecture/personas.md` (v3) for the full paradigm and the reasoning behind the redesign.
## Hard and soft dependencies
| Dependency | Type | Why |
|---|---|---|
| `/grafel-resolve` | Hard | Orphan edges make impact-radius analysis meaningless |
| `/grafel-tech-docs` | Hard | Personas read module markdown to ground their answers |
| `/grafel-business-docs` | Soft | Business-analyst persona fidelity improves |
| `/grafel-security-audit` | Soft | Security-auditor persona can deduplicate against existing findings |
If tech docs are missing, the skill aborts:
> Tech docs not found at `~/.grafel/docs/<group>/`. Run `/grafel-tech-docs` first, then re-invoke `/grafel-consult`.
## CRITICAL TOOL DISCIPLINE
The active persona MUST use grafel MCP tools for ALL graph navigation. Pre-flight: call `grafel_orient (view=me)` first.
## When to use this skill
- "Get an architect's view of this codebase."
- "Hire a security auditor to look at our auth flow."
- "I want a business analyst's read on the order module."
- "What would a performance reviewer say about this endpoint?"
- "Review API design consistency."
- "Check test coverage on the billing module."
- `/grafel-consult` (slash command).
## Flags (optional)
- `--persona <name>` — hire a specific consultant directly without going through catalog selection (e.g. `--persona architect`).
- `--list` / `--catalog` — print the catalog and exit.
- `--release` — release the currently active consultant.
- `--switch <name>` — release the current consultant and hire `<name>`.
- `--resume <session-id>` — resume a specific saved session by ID (skips the session picker).
- `--new` — force a new session, skipping the active-session list.
## Shipped catalog
Twelve consultants ship as persona files in `skills/grafel-consult/personas/`. Users may add their own under `~/.claude/agents/grafel-<persona>.md`.
| Consultant | File | Lens |
|---|---|---|
| architect | `personas/architect.md` | Module layering, coupling, cyclic deps, god modules, ADR opportunities |
| security-auditor | `personas/security-auditor.md` | Auth gaps, PII exposure, injection risks, attack surface |
| business-analyst | `personas/business-analyst.md` | Capability coverage, feature gaps, business rule completeness, user-journey gaps |
| performance-reviewer | `personas/performance-reviewer.md` | Hot paths, N+1 queries, synchronous blocking, unbounded queries |
| refactor-critic | `personas/refactor-critic.md` | Complexity hotspots, duplication, dead code, tech-debt surface |
| api-designer | `personas/api-designer.md` | Endpoint naming, REST/RPC convention consistency, versioning, error-shape uniformity |
| data-engineer | `personas/data-engineer.md` | Schema quality, migration hygiene, ORM query patterns, index candidates, FK integrity |
| qa-reviewer | `personas/qa-reviewer.md` | TESTS-edge coverage by module, untested critical paths, fixture hygiene |
| solutions-architect | `personas/solutions-architect.md` | Cross-service boundaries, inter-repo contracts, coupling, blast-radius (limited: cross_links coverage) |
| devops-reviewer | `personas/devops-reviewer.md` | CI/CD config, GitHub Actions pinning, build hygiene, graph-visible infra config (limited: no IaC indexer) |
| compliance-officer | `personas/compliance-officer.md` | PII field detection, audit-trail gaps, sensitive data flow surface scan (limited: name-match heuristics only) |
| dx-engineer | `personas/dx-engineer.md` | Test deserts, circular imports, god entry-points, module size outliers (limited: test/import-graph signals only) |
## Session state
Session state is persisted to `~/.grafel/sessions/<session-id>.yaml` using the host agent's `Read` and `Write` tools. No new MCP tools are required — all personas inherit `Read` and `Write` from the host agent.
### Schema
```yaml
session_id: <uuid-or-timestamp-slug> # e.g. "20260527-143022-architect"
created: <iso8601> # e.g. "2026-05-27T14:30:22Z"
last_active: <iso8601> # updated on every save
active_persona: <name> # e.g. "architect"
consult_chain: [persona-a, persona-b] # active Consult-Out chain at save time
context:
original_ask: "<verbatim user question>"
prior_findings:
- persona: <name>
summary: "<2-4 line text summary of that hop's findings>"
notes: |
<free-form scratch — any persona may append mid-conversation>
```
### First-invocation flow (session picker)
On every invocation (unless `--new` or `--resume <id>` is passed):
1. Scan `~/.grafel/sessions/*.yaml` for files whose `last_active` is within the past 30 days.
2. If any active sessions exist, present them:
```
Active sessions:
[1] 20260527-143022-architect last active: 2026-05-27 persona: architect
[2] 20260525-091500-security last active: 2026-05-25 persona: security-auditor
[N] Start new session
```
Ask: "Resume a session, or start new?"
3. If no active sessions exist (or the user picks "Start new session"), proceed to Persona selection below.
### Resume flow
When the user picks an existing session (or passes `--resume <session-id>`):
1. Read `~/.grafel/sessions/<session-id>.yaml`.
2. Re-prime the host agent:
- Set `active_persona` to the saved value.
- Inject the saved `context.original_ask`, `prior_findings`, `consult_chain`, and `notes` into the conversation as a system reminder block:
```
[grafel-consult] RESUMING SESSION <session-id>
Active persona: grafel-<name>
Original ask: <original_ask>
Prior findings: <prior_findings as bullet list>
Consult chain: <consult_chain>
Notes: <notes>
```
3. Activate the persona (load its body inline, same as a new hire).
4. Announce to the user:
> Resumed session `<session-id>` with consultant `grafel-<name>`. Context restored. Pick up where you left off.
### Save flow
Session state is written under two conditions:From cajasmota/grafel, MIT.
More from cajasmota/grafel
- 0.607score
grafel-business-docs
cajasmota
Generate group-synthesised, PM-facing documentation — product capabilities, business domain glossary, user journeys as plain-language narratives, business…
SkillBFreshness: B★ 24Claude Code +9 - 0.607score
grafel-tech-docs
cajasmota
Generate the per-repo and group-level technical documentation set — overview, modules, reference, cross-cutting, group synthesis, cross-links, and patterns.
SkillBFreshness: B★ 24Claude Code +9 - 0.607score
grafel-security-audit
cajasmota
Two-phase security audit of the indexed group.
SkillBFreshness: B★ 24Claude Code +9 - 0.607score
grafel-graph-quality
cajasmota
Continuous health check of the grafel knowledge graph.
SkillBFreshness: B★ 24Claude Code +9 - 0.607score
grafel-feedback
cajasmota
Generate a privacy-preserving anonymized quality report for sharing with grafel maintainers, then layer an agent-driven "Findings & Interpretation" section on…
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
grafel-test-page
cajasmota
Test the grafel docgen LLM-mode loop end-to-end on a single entity.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
using-grafel
cajasmota
Teaches an AI agent how to use grafel MCP tools effectively when working on a registered codebase.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
grafel-graph-enrich
cajasmota
Annotate the graph with structured YAML frontmatter on http_endpoint, process_flow, and message_topic entities so the dashboard panels (Paths, Flows…
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
grafel-resolve
cajasmota
Surface and resolve residual edges — runtime dispatch, dynamic URLs, ambiguous bindings — so the graph is fit-for-purpose before any downstream skill consumes…
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
grafel-help
cajasmota
Overview of the grafel skill family.
SkillBFreshness: B★ 24Claude Code +9 - 0.601score
grafel-graph-read
cajasmota
Shared grafel read protocol — status → inspect → expand.
SkillBFreshness: B★ 24Claude Code +9 - 0.599score
grafel-graph-write
cajasmota
Shared grafel persistence protocol — save findings only on explicit user request.
SkillBFreshness: B★ 24Claude Code +9
Signals
- Stars
- 24
- Forks
- 7
- Open issues
- 282
- Last commit (this folder)
- Jun 24, 2026 (4 months ago)
- Last release
- Sep 23, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/cajasmota/grafel
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from cajasmota
- 0.607score
grafel-security-audit
cajasmota
Two-phase security audit of the indexed group.
SkillBFreshness: B★ 24Claude Code +9 - 0.607score
grafel-tech-docs
cajasmota
Generate the per-repo and group-level technical documentation set — overview, modules, reference, cross-cutting, group synthesis, cross-links, and patterns.
SkillBFreshness: B★ 24Claude Code +9 - 0.607score
grafel-feedback
cajasmota
Generate a privacy-preserving anonymized quality report for sharing with grafel maintainers, then layer an agent-driven "Findings & Interpretation" section on…
SkillBFreshness: B★ 24Claude Code +9 - 0.607score
grafel-graph-quality
cajasmota
Continuous health check of the grafel knowledge graph.
SkillBFreshness: B★ 24Claude Code +9 - 0.607score
grafel-business-docs
cajasmota
Generate group-synthesised, PM-facing documentation — product capabilities, business domain glossary, user journeys as plain-language narratives, business…
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
grafel-help
cajasmota
Overview of the grafel skill family.
SkillBFreshness: B★ 24Claude Code +9
Cite this page
grafel-consult skill. Agent Mart. https://agentmart.dev/skills/cajasmota-grafel-consult (last updated 2026-10-24)