maf-dev-loop

maf-dev-loop is a skill for Claude Code, Codex, Cursor from JinLee794/agent-framework-skills. It costs 70 tokens per session (3,027 once invoked), scanned A, original, MIT.

A local development and debugging guide for an AI agent, including logging, a text-based developer interface, and trace tracking. A developer interface is a screen for running and inspecting the agent during development.

In plain words
What is it for?
Use it to set up logging, run and debug agents locally, inspect traces and metrics, and diagnose agents that produce no answer.
Why use it?
It makes failures and empty responses visible instead of leaving you guessing what happened inside the agent.

Skill for Claude CodeCodexCursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jinlee794/agent-framework-skills/maf-dev-loop
Any agent
npx skills add JinLee794/agent-framework-skills --skill maf-dev-loop
Clone the repo
git clone --depth 1 https://github.com/JinLee794/agent-framework-skills

Made for: Claude Code, Codex, Cursor.

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 maf-dev-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/jinlee794/agent-framework-skills/maf-dev-loop.svg)](https://agentmods.dev/skills/jinlee794/agent-framework-skills/maf-dev-loop)
Your own site
<a href="https://agentmods.dev/skills/jinlee794/agent-framework-skills/maf-dev-loop"><img src="https://agentmods.dev/badge/skills/jinlee794/agent-framework-skills/maf-dev-loop.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,027 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00070 $0.03027
Opus 5 $0.00035 $0.01514
Sonnet 5 $0.00014 $0.00605
Haiku 4.5 $0.00007 $0.00303

Measured 3d ago against content hash 9c86271ec078, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

maf-dev-loop 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 3d 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.

.cursor/skills/maf-dev-loop/SKILL.md · 283 lines

How it starts

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

Dev Loop — Logging, DevUI, Telemetry

Task Where
Set up logging so failures are explainable this file, below — do this first
The agent returns nothing and you cannot tell why references/diagnostics.md
Run and debug an agent locally this file, below
Voice trace attributes, metrics, full telemetry troubleshooting references/observability.md
Refresh a stale skill against the SDKs references/skill-sync.md

Logging is not optional

A voice agent fails in places nobody can see: inside a tool handler, inside an event loop, inside a config document that absorbed a misspelled key. If the seed cannot explain its own failure, it is not finished. Logging setup is scaffolding step one, not a follow-up task.

diagnostics.py

One module, no local imports, called before anything else at every entry point.

# src/<package>/diagnostics.py
import logging
import os

_NOISY = {
    "azure.identity": logging.WARNING,
    "azure.core.pipeline.policies.http_logging_policy": logging.WARNING,
    "urllib3": logging.WARNING,
}


def setup_logging() -> None:
    """Configure root logging. Must run before any module that can fail is imported."""
    level = os.getenv("LOG_LEVEL", "INFO").upper()
    logging.basicConfig(
        level=level,
        format="%(asctime)s %(levelname)-8s %(name)s %(message)s",
        force=True,  # override any handler a dependency installed at import
    )
    for name, noisy_level in _NOISY.items():
        logging.getLogger(name).setLevel(noisy_level)
    logging.getLogger("agent_framework").setLevel(level)

force=True matters: several Azure SDKs attach a handler on import, and without it basicConfig is a no-op and your format never applies.

# src/<package>/__main__.py — order is load-bearing
from dotenv import load_dotenv

from .diagnostics import setup_logging

load_dotenv()        # Agent Framework never does this for you
setup_logging()      # before any import that can fail

from .voice.runner import main   # noqa: E402 — imported after logging is live

Read the full file on GitHub · 283 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 283 lines · 70 tokens per session scan A 9c86271ec078

Subscribe to this mod's changes

maf-dev-loop is a skill published in the GitHub repository JinLee794/agent-framework-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 70 tokens to every session and 3,027 once invoked, about $0.0003 per session on Opus 5. 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.

Related

Other skills, from other repositories

harness-execution

Runs PromptHarness on demand against the currently configured LLM provider, over a user-chosen scope and run/pass threshold. Live LLM calls, real cost. Use when the user says "run the harness", "execute the prompt harness", "launch the harness".

mdesalvo/Morgana · 58 tokens

bump-version

Automates version increment for Morgana and all dependent projects when starting a new development cycle, or when preparing a production hotfix. Use when the user says things like "we just released", "bump the version", "start a new version", "prepare a hotfix".

mdesalvo/Morgana · 60 tokens

Foundry Toolbox Ops

Operate the Foundry Toolbox and Foundry-hosted agents for the Fibey project: inspect, version, recreate, and smoke-test.

microsoft/Build26-BRK242-turn-your-agents-into-action-connect-tools-apis-and-documents · 32 tokens

Azure Search Ops

Operate the Azure AI Search index and knowledge base behind FoundryIQ for Fibey field ops.

microsoft/Build26-BRK242-turn-your-agents-into-action-connect-tools-apis-and-documents · 23 tokens

knowledge-retrieval

Handle technical knowledge questions — procedures, safety protocols, troubleshooting, specifications, installation standards, and testing guidance. Use when the technician asks how-to questions, about procedures, safety, cable specs, OTDR testing, splicing techniques, or troubleshooting steps.

microsoft/Build26-BRK242-turn-your-agents-into-action-connect-tools-apis-and-documents · 55 tokens

copilot-sdk

Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server…

thangchung/agent-engineering-experiment · 72 tokens