Skip to content
Back to skills

Maf Adapter

ASecurity

Provides validation, setup guidance, and a local test harness simulator to run skills within the Microsoft Agent Framework (MAF).

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentspythonbashazure

Works with

  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill maf-adapter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Maf Adapter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Maf Adapter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-maf-adapter/badge)](https://www.skillsdirectory.com/skills/richfrem-maf-adapter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: maf-adapter
plugin: cli-agents
description: >-
  Provides validation, setup guidance, and a local test harness simulator to run
  skills within the Microsoft Agent Framework (MAF).
allowed-tools: Bash, Read, Write
---

# Microsoft Agent Framework Adapter (maf-adapter)

Validates plugin manifests and simulates agent skill execution within the Microsoft Agent Framework (MAF v1.6/v1.7+).

## Contents
- [Critical Constraints](#critical-constraints)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)

## Critical Constraints
- **Manifest Hygiene**: Manifests loaded into MAF must omit banned/unsupported fields (`skills`, `agents`, `hooks`).
- **Frontmatter Requirement**: All skills must include valid YAML frontmatter blocks delimited by `---` with `name` and `allowed-tools`.
- **Local Simulation First**: Test and simulate skills locally via `test_harness.py` before deploying to Azure Agent Service.
- **Read-Only Test Frame**: The simulation harness must execute in read-only mode without mutating the target skill or plugin files.

## Quick start

```bash
# Validate plugin manifest for MAF compatibility
python3 plugins/cli-agents/scripts/test_harness.py --validate --plugin plugins/<plugin>

# Simulate skill execution locally under MAF
python3 plugins/cli-agents/scripts/test_harness.py \
  --skill plugins/<plugin>/skills/<skill-name> \
  --instruction "Analyze workspace"
```

## Workflow

1. **Phase 1: Manifest Validation**: Run `test_harness.py --validate` against the target plugin directory to verify schema compatibility and absence of banned root keys.
2. **Phase 2: Frontmatter Verification**: Verify that the target skill's `SKILL.md` contains valid frontmatter declaring allowed tools and clean descriptions.
3. **Phase 3: Execution Simulation**: Execute `test_harness.py --skill` with mock input context to assemble and verify the MAF execution frame.
4. **Phase 4: Output Inspection**: Review the generated execution frame to verify clean parameter passing and tool bounds.

## Verification

```bash
# Validate plugin manifest
python3 plugins/cli-agents/scripts/test_harness.py --validate --plugin plugins/cli-agents

# Audit skill compliance
python3 plugins/agent-scaffolders/scripts/audit_skill.py plugins/cli-agents/skills/maf-adapter --mode source
```

## References
- [acceptance-criteria.md](references/acceptance-criteria.md) - Plugin and skill acceptance criteria for MAF.

Files in this skill

  • SKILL.md1.2 KB
  • evals/evals.json552 B
  • evals/results.tsv34 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.