mkn-constructor

Construct and scaffold Machina agent-templates and connectors with correct YAML structure, then install them via MCP. Use when users ask to "create a template", "scaffold an agent", "init template", "build a new connector", "install template", "validate template", "analyze template", "trace agent", or "configure secrets".

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "mkn-constructor" with this command: npx skills add machina-sports/machina-templates/machina-sports-machina-templates-mkn-constructor

Template Constructor

End-to-end skill for building, validating, and deploying Machina agent-templates and connectors.

References

Procedural guides for each lifecycle stage:

ReferenceDescription
init.mdScaffold new template project from scratch
create.mdGenerate individual YAML components
validate.mdCheck YAML files against correct patterns
install.mdImport templates via MCP (local or Git)
analyze.mdAnalyze template structure and dependencies
trace.mdTrace agent execution chain with variable propagation
secrets.mdConfigure vault secrets for connectors
api.mdMCP operations for all entities (CRUD, execute, search)
yaml-reference.mdComplete YAML syntax and patterns
connectors.mdAll available connectors with docs
frontend-api.mdNext.js frontend API integration

Schemas

Authoritative field definitions for every Machina entity:

SchemaEntity
agent.mdAgent definition
connector.mdConnector (PyScript + REST API)
document.mdDocument task type
mapping.mdData transformation mapping
prompt.mdPrompt definition + JSON Schema
setup.md_install.yml + _index.yml
skill.mdSDK skill registration
workflow.mdWorkflow + task types

Intent Routing

When the user triggers this skill, load the appropriate reference:

User SaysReference
"init template", "scaffold template", "new template project"init.md
"create agent", "create workflow", "scaffold YAML"create.md
"validate", "check YAML", "verify template"validate.md
"install", "import", "deploy template"install.md
"analyze", "what's in this template", "overview"analyze.md
"trace", "execution chain", "variable flow", "debug agent"trace.md
"secrets", "credentials", "configure API key"secrets.md
"API", "MCP operations", "search agents", "execute workflow"api.md
"YAML syntax", "task types", "expression syntax", "foreach"yaml-reference.md
"connectors", "list connectors", "connector docs"connectors.md
"frontend", "Next.js", "API integration", "document search"frontend-api.md
"report bug", "found issue", "feedback", "suggest improvement"Show Feedback & Contributing section below

For YAML field specifics, read the relevant schema from schemas/.

Workflow

Name: mkn-constructor-check-setup

Validates that the doc-structure document exists and returns its content.

InputDefaultDescription
document_namedoc-structureDocument to check
OutputDescription
doc-structureDocument content
check-statusWorkflow execution status

Feedback & Contributing

Found a bug, unexpected behavior, or have an improvement idea while using this skill?

  • Report issues: Open an issue with the label skill:mkn-constructor
  • Contribute fixes: Fork the repo, apply your fix, and open a PR against main
  • What to include: Describe what you expected vs. what happened. For schema/reference fixes, include before/after YAML examples.

When the user encounters an error, unexpected scaffold output, or expresses frustration with a skill behavior, proactively mention this section and suggest opening an issue.

Key Constraints

  • Connector .py files: No helper functions outside command functions. Each function must be self-contained.
  • Expression syntax: Always use $.get('field') — never ${field} or $field
  • Prompt files: Use prompts: array (not prompt:) with instruction: (not messages:)
  • Connector YAML: Use filetype: (not type:) and filename: (not script:)
  • Install order: connectors → documents → prompts → mappings → workflows → agents → skills

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

template-constructor

No summary provided by upstream source.

Repository SourceNeeds Review
General

football-data

No summary provided by upstream source.

Repository SourceNeeds Review
General

polymarket

No summary provided by upstream source.

Repository SourceNeeds Review
General

sports-news

No summary provided by upstream source.

Repository SourceNeeds Review