skill-role-inject-context

Generate per-agent YAML context packages from the .agent/ directory.

4|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/ryan-nguyen-01/agent-platform --skill skill-role-inject-context
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-role-inject-context
Source: https://github.com/ryan-nguyen-01/agent-platform/tree/main/.claude/skills/skill-role-inject-context
Command: npx skills add https://github.com/ryan-nguyen-01/agent-platform --skill skill-role-inject-context

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Orchestrator extracts and packages only the relevant context from the .agent/ directory and creates per-agent input payloads to drive each worker with guaranteed efficiency and clarity.

Core Features & Use Cases

  • Extract and tailor context per agent type (CoderAgent, ReviewerAgent, TesterAgent, DocumenterAgent).
  • Produce a compact, structured YAML context package limited to 500 tokens per agent.
  • Enforce task-specific context inclusion and guardrails to avoid information leakage and prompt injection.

Quick Start

Initialize the orchestrator to generate per-agent context packages using the role and task descriptions.

Frequently Asked Questions about skill-role-inject-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I inject minimal context for per-agent payloads in multi-role orchestration?

To inject minimal context for per-agent payloads, automate the extraction of tailored context packages from the .agent/ directory. This ensures each agent type, like CoderAgent or ReviewerAgent, receives only the specific, relevant data needed for its task.

What is the token limit for structured YAML context packages in agent orchestration?

The token limit for structured YAML context packages is 500 tokens per agent. Enforcing this limit prevents over-injection, guarantees efficiency, and ensures each worker agent receives a compact, clearly structured input payload.

How do I prevent information leakage when preparing inputs for CoderAgent and ReviewerAgent?

To prevent information leakage when preparing inputs for CoderAgent and ReviewerAgent, enforce task-specific context inclusion and guardrails. Trimming irrelevant data and applying structured YAML frontmatter limits exposure to only necessary fields.

Can I use YAML frontmatter metadata to tailor context for TesterAgent and DocumenterAgent?

Yes, you can use YAML frontmatter metadata to tailor context for TesterAgent and DocumenterAgent. The orchestrator extracts and packages relevant data using this structured format, satisfying requirements for specific field enforcement and data trimming.

What is the best way to automate per-agent input payload generation from the .agent/ directory?

The best way to automate per-agent input payload generation is initializing an orchestrator that extracts relevant context from the .agent/ directory. It applies guardrails and trims irrelevant data to create compact, role-specific packages.

When should I not use automated context injection for multi-role agent tasks?

You should not use automated context injection when tasks lack clear role separation or when required context exceeds the 500-token limit. The approach relies on strict YAML frontmatter fields and task-specific guardrails to prevent over-injection.