vlm-code-context-mcp: Command for Claude Code

.claude/commands/sprint-connect.md

sprint-connect is a command for Claude Code from VelimirMueller/vlm-code-context-mcp. It costs 0 tokens per session (1,062 once invoked), scanned A, original, MIT.

A command that connects a dashboard interface to an active Claude coding session. It watches for dashboard actions and has a background agent carry them out through available tools.

In plain words
What is it for?
Use it to start the dashboard connection, process pending actions, and keep the connection running until it is disconnected.
Why use it?
It lets someone control or coordinate coding work from a local dashboard instead of manually handling every action in the session.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is VelimirMueller/vlm-code-context-mcp's own configuration. It tells Claude Code how to work on vlm-code-context-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vlm-code-context-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to VelimirMueller/vlm-code-context-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/VelimirMueller/vlm-code-context-mcp/main/.claude/commands/sprint-connect.md
Clone the repo
git clone --depth 1 https://github.com/VelimirMueller/vlm-code-context-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sprint-connect

README.md
[![agentmods](https://agentmods.dev/badge/commands/velimirmueller/vlm-code-context-mcp/sprint-connect.svg)](https://agentmods.dev/commands/velimirmueller/vlm-code-context-mcp/sprint-connect)
Your own site
<a href="https://agentmods.dev/commands/velimirmueller/vlm-code-context-mcp/sprint-connect"><img src="https://agentmods.dev/badge/commands/velimirmueller/vlm-code-context-mcp/sprint-connect.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,062 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01062
Opus 5 $0.00000 $0.00531
Sonnet 5 $0.00000 $0.00212
Haiku 4.5 $0.00000 $0.00106

Measured 7d ago against content hash 05ed2a26978f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

sprint-connect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/sprint-connect.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sprint Connect — Bridge UI to Claude Session

Connect the dashboard UI to this Claude session. Spawns a background agent that polls for dashboard actions and executes them using MCP tools. Re-spawns automatically when the agent times out.

Step 0 — Load Context (2 calls)

get_resume_state()                     # project state + active sprint
get_sprint_playbook()                  # current phase, gates, next actions

How It Works

  1. Spawn a background agent that polls pending_actions in context.db every second
  2. When an action arrives (button click in UI), the agent executes the corresponding MCP tool
  3. The main session gets notified of completed actions
  4. If the agent exits (timeout), re-spawn it automatically
  5. Continue until the user says "quit" or "disconnect"

Instructions

When the user runs /sprint-connect, execute this loop:

Step 1: Announce connection

Tell the user:

Sprint Connect active. Dashboard actions will be handled automatically.
Open http://localhost:3333 (or whichever port) to use the UI.
Say "disconnect" to stop listening.

Step 2: Spawn the polling agent

The spawned agent MUST load context before handling actions. Include these instructions in the agent prompt:

You are a bridge agent polling for dashboard actions in the MCP server project.

BEFORE handling any action, load context from the MCP database:
- get_sprint_playbook() — know the current phase and gates
- list_agents() — know who's on the team
- get_sprint({ sprint_id: <current> }) — know ticket state

Your job:
1. Read the pending_actions table from context.db using a bash command every second
2. When you find a pending action, claim it and execute the corresponding MCP tool
3. Before executing implement_ticket actions, ALWAYS load code context first:
   - get_ticket({ ticket_id: <id> }) — understand the ticket
   - search_files({ query: "<ticket keywords>" }) — find related code
   - get_file_context({ path: "<relevant file>", include_changes: false }) — deps only, skip diff history
   - Only THEN read actual files and implement
4. After executing, mark the action as completed in the database
5. Report what you did back to the main session
6. Continue polling until 3 minutes have passed with no actions, then exit

Polling command (run this in a loop):
node -e '
const Database = require("better-sqlite3");
const db = new Database("context.db");
const rows = db.prepare("SELECT id, action, entity_type, entity_id, payload, status FROM pending_actions WHERE status = ? ORDER BY created_at ASC LIMIT 1").all("pending");
if (rows.length > 0) {
  const r = rows[0];
  db.prepare("UPDATE pending_actions SET status = '\''claimed'\'', claimed_at = datetime('\''now'\'') WHERE id = ?").run(r.id);
  console.log(JSON.stringify(r));
} else {
  console.log("NONE");
}
db.close();
'

Action mapping — when you find an action, call the MCP tool:
- advance_sprint → call advance_sprint({ sprint_id: <entity_id> })
- update_ticket → call update_ticket({ ticket_id: <entity_id>, ...JSON.parse(payload) })
- create_ticket → call create_ticket({ ...JSON.parse(payload) })
- run_kickoff → call handle_run_kickoff() if available, otherwise report "kickoff requested"
- implement_ticket → Load ticket + code context from DB first, then implement

After executing, mark completed:
node -e '
const Database = require("better-sqlite3");
const db = new Database("context.db");
db.prepare("UPDATE pending_actions SET status = '\''completed'\'', completed_at = datetime('\''now'\'') WHERE id = ?").run(<ACTION_ID>);
db.close();
'

IMPORTANT: After each action, report back what you did. Keep polling until 3 minutes of no activity.

Read the full file on GitHub · 110 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 110 lines · 0 tokens per session scan A 05ed2a26978f

Subscribe to this mod's changes

sprint-connect is a command published in the GitHub repository VelimirMueller/vlm-code-context-mcp (4 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,062 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.