pre-agent-task

Cross-check planned agent actions against MODULE_MANIFEST.md permissions and DECISION_LOG.md warnings.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/az9713/dark-code-skills --skill pre-agent-task
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pre-agent-task
Source: https://github.com/az9713/dark-code-skills/tree/main/skills/pre-agent-task
Command: npx skills add https://github.com/az9713/dark-code-skills --skill pre-agent-task

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Advisory checks ensure that planned multi-step AI agent tasks align with module permissions before execution, surfacing conflicts early.

Core Features & Use Cases

  • Reads MODULE_MANIFEST.md to identify affected modules and agent permissions.
  • Cross-checks planned operations against permitted/restricted actions and DECISION_LOG.md warnings.
  • Produces an advisory checklist before the task begins and does not block execution by default.
  • Invoke as /pre-agent-task or /pre-agent-task --modules path/to/a path/to/b

Quick Start

Invoke as /pre-agent-task or /pre-agent-task --modules path/to/a path/to/b to start the advisory pre-flight check.

Frequently Asked Questions about pre-agent-task

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

FAQPage Schema
How do I run advisory safety checks for multi-step AI agent tasks before execution?▼

Advisory safety checks analyze planned agent actions against module permissions using MODULE_MANIFEST.md and DECISION_LOG.md. You run them by invoking the pre-agent-task command, which produces a checklist of conflicts and warnings without blocking execution.

What is an advisory pre-flight check for AI agent code modifications?▼

An advisory pre-flight check is a risk-management process that cross-references planned agent operations with permitted actions and prior decision logs. It surfaces conflicts early by generating a checklist, ensuring agent safety without halting the task.

Can I scope pre-flight safety checks to specific modules when planning agent tasks?▼

Yes, you can scope safety checks to specific modules by passing directory paths as arguments. This targets the advisory check to relevant module manifests and decision logs, producing a focused checklist for the specified code paths.

Does the advisory pre-flight check block AI agent tasks if it detects permission conflicts?▼

No, the advisory pre-flight check does not block execution by default. It enforces advisory gating by documenting detected conflicts and warnings in a checklist, allowing you to review risks before proceeding with the agent task.

When do I need to cross-check planned agent operations against a decision log?▼

You need to cross-check operations against a decision log when planning multi-step agent tasks touching code, infrastructure, databases, or shared resources. This risk-management step surfaces prior warnings and permission conflicts before execution begins.

What are the limitations of using advisory checks for agent safety during code modifications?▼

The primary limitation is that advisory checks are non-blocking. They document conflicts and warnings from module manifests and decision logs, but they do not prevent execution, meaning you must manually review the generated checklist to ensure agent safety.