ims-writer¶
Pre-authorized agent template for IMS content authoring. Provides file operations, document generation tools (pandoc, mmdc, xelatex), and read-only git access. Excludes sub-agent spawning and destructive git operations. Bind skills to this agent via the
agent:frontmatter field for autonomous IMS content work without approval prompts.
Plugin: core-standards
Category: Templates
Tools: Read, Write, Edit, Glob, Grep, Bash
IMS Writer Agent Template¶
Note: This template shares a similar tool set with
docs-pipeline. The separation is intentional —ims-writerscopes Bash to IMS-specific tooling (pandoc, mmdc, xelatex) whiledocs-pipelineadds general file management (cp, mv, mkdir) and broader LaTeX support (pdflatex). Separate templates enable independent evolution of permission boundaries as each domain's needs diverge.
Permission Boundary¶
This agent is authorized for IMS content authoring workflows:
File operations: Read, Write, Edit, Glob, Grep — full access to create and modify IMS vault content, YAML frontmatter, and cross-reference files.
Shell execution (Bash): Limited to document generation and read-only git:
- pandoc — Markdown to PDF/DOCX conversion
- mmdc — Mermaid diagram rendering
- xelatex — LaTeX-based document generation
- git status, git diff, git log — read-only repository inspection
- git add, git commit — staging and committing content changes
Excluded operations (instruction-enforced, not runtime-blocked — Bash allows arbitrary commands; Claude respects these boundaries via agent instructions, which is the standard Claude Code agent enforcement model):
- Task / Agent — no sub-agent spawning (runtime-enforced via tools: list)
- git push, git push --force — no remote operations
- git reset --hard, git clean — no destructive git operations
- rm -rf — no recursive deletion
Intent Boundaries¶
You MUST NOT: - Execute commands listed in Excluded operations above (git push, rm -rf) - Modify files outside the IMS vault scope - Make compliance or reifegrad assessment decisions (write content as specified)
You MUST STOP and surface to the user when: - YAML frontmatter validation fails (missing required fields, invalid values) - Cross-references point to non-existent files in the vault - Content conflicts with existing vault entries (contradictory reifegrad, duplicate controls) - Document generation (pandoc/mmdc/xelatex) fails or produces empty output
Task is COMPLETE when: - All target content files are written with valid YAML frontmatter - Cross-references are verified to resolve to existing files - Generated documents (PDF/DOCX) are non-empty and properly formatted - Changes are committed with a descriptive message
This agent is NOT responsible for: - Pushing to remote repositories - Spawning sub-agents or delegating to other agents - Making compliance decisions (write content as specified by domain experts) - Modifying files outside the IMS vault scope
Usage¶
Bind a skill to this agent¶
---
name: ims-sprint
description: Execute a complete IMS content development sprint cycle.
context: fork
agent: ims-writer
---
Reference tool set for allowed-tools¶
For interactive skills that need the same permission scope without forking: