Skillquality 0.45

skillfold-context

Context about the Skillfold project, its architecture, and design principles.

Price
free
Protocol
skill
Verified
no

What it does

Skillfold Project Context

You are working on Skillfold, a configuration language and compiler for building multi-agent AI pipelines. The vision is a widely adopted, agent-first tool where agents author the config, agents consume the output, and humans provide direction.

What Skillfold Does

Skillfold compiles YAML config into standard SKILL.md files per the Agent Skills open standard. It handles:

  1. Skill Composition - Atomic skills (referenced by path) are combined into composed skills by concatenating their SKILL.md bodies. Composition is recursive. Skills are split into atomic and composed sub-sections.
  2. Team Flow - Agents are wired into typed execution flows with conditional routing, loops, and parallel map. The flow compiles into an orchestrator skill. Flow and orchestrator live under the team config section.
  3. State Validation - A typed state schema validates that reads/writes are consistent across the flow. State is a top-level section, independently importable.
  4. Orchestrator Generation - The compiler generates a structured execution plan from the team flow definition and appends it to the orchestrator skill.

Config Structure

Four top-level sections: resources, skills, state, team.

  • resources - Resource declarations mapping group names to namespace URLs for state location validation and orchestrator URL resolution
  • skills.atomic - Path references to atomic skill directories (local or GitHub URLs)
  • skills.composed - Composition declarations combining atomic skills into agents
  • state - Typed state schema with custom types, primitives, lists, and external locations
  • team.orchestrator - Optional skill name to append generated plan to
  • team.flow - Directed execution flow with conditional routing, loops, and parallel map

Imports pull in resources, skills, and state, ignore team.

Architecture

The compiler pipeline is: parse config -> resolve skill paths (local + remote) -> compile compositions -> validate state -> validate flow -> generate orchestrator.

The codebase is TypeScript (strict, ESM modules). Key modules:

  • src/config.ts - YAML parsing, config types, validation
  • src/state.ts - State schema parsing, type system, location validation
  • src/graph.ts - Flow parsing, validation (skills, state, conflicts, cycles)
  • src/orchestrator.ts - Orchestrator SKILL.md generation from flow
  • src/resolver.ts - Reads SKILL.md files from skill directories and GitHub URLs
  • src/remote.ts - GitHub URL parsing and remote skill fetching
  • src/compiler.ts - Recursive composition, orchestrator integration
  • src/visualize.ts - Mermaid flowchart generation with composition lineage
  • src/list.ts - Pipeline introspection (skillfold list)
  • src/init.ts - skillfold init scaffolding
  • src/errors.ts - ConfigError, ResolveError, CompileError, GraphError
  • src/cli.ts - CLI entry point

Key Design Principles

  • Single source of truth - the pipeline config owns composition, state, and topology
  • Compile to the standard - output is plain SKILL.md files
  • Skills all the way down - an agent is just a skill in a flow
  • Separation of concerns - capability in skills, topology in team flow, state in schema
  • Validated at compile time - type mismatches and broken references are compiler errors

What's Implemented

All compiler features are working: skill composition with atomic/composed sub-sections, state schema, flow validation, map subgraph validation, when-clause parsing, orchestrator generation, spec-compliant output, URL-based skill references (with private repo auth via GITHUB_TOKEN), pipeline imports, graph visualization with full composition lineage and interactive HTML output (skillfold graph --html), skillfold init, skillfold adopt, skillfold validate, skillfold list, --check for CI integration, async flow nodes for external agents, top-level resource declarations with compile-time location path validation (skill-level resources deprecated but backward compatible), sub-flow imports for nested pipeline composition, npm skill search (skillfold search), npm: prefix resolution for skill imports, local config overrides (skillfold.local.yaml), built-in state integrations for GitHub services (issues, discussions, pull requests), VitePress documentation site with live demo and GitHub Pages deployment, skill publishing guide, multi-platform compilation targets (--target claude-code, --target agent-teams, --target cursor, --target windsurf, --target codex, --target copilot, --target gemini, --target goose, --target roo-code, --target kiro, --target junie), agentConfig with full Claude Code frontmatter parity (including mcpServers and skills fields), and skillfold run for executing pipeline flows via agent spawning (--spawner cli|sdk) with conditional routing, loops, parallel map execution, error handling (retry/skip/abort), step timing, checkpoint-based resume, and state backend integration for GitHub services. The SdkSpawner uses @anthropic-ai/claude-agent-sdk (optional peer dependency) to give spawned agents full tool access. The --target agent-teams output generates skills, agents, and a start-team.md bootstrap command for Claude Code Agent Teams. Published on npm as skillfold (v1.23.0). 858 tests across 168 suites, CI on GitHub Actions. The project self-hosts its own dev team via skillfold.yaml.

What's Next

Features driven by user demand.

Capabilities

skillsource-byronxlgskill-skillfold-contexttopic-agent-frameworktopic-agent-skillstopic-ai-agentstopic-claude-codetopic-compilertopic-multi-agenttopic-orchestratortopic-pipelinetopic-skill-compositiontopic-typescripttopic-yaml

Install

Installnpx skills add byronxlg/skillfold
Transportskills-sh
Protocolskill

Quality

0.45/ 1.00

deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 6 github stars · SKILL.md body (5,486 chars)

Provenance

Indexed fromgithub
Enriched2026-05-18 19:14:27Z · deterministic:skill-github:v1 · v1
First seen2026-05-18
Last seen2026-05-18

Agent access

skillfold-context — Clawmart · Clawmart