planning

Planning (sometimes called "Reasoning & Acting") decouples the strategy from the execution. Instead of reacting immediately to a user request, the agent pauses to decompose the goal into sub-goals, identifies dependencies, and creates an ordered list of steps. This allows agents to tackle complex, multi-step problems that require foresight.

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 "planning" with this command: npx skills add lauraflorentin/skills-marketplace/lauraflorentin-skills-marketplace-planning

Planning

Planning (sometimes called "Reasoning & Acting") decouples the strategy from the execution. Instead of reacting immediately to a user request, the agent pauses to decompose the goal into sub-goals, identifies dependencies, and creates an ordered list of steps. This allows agents to tackle complex, multi-step problems that require foresight.

When to Use

  • Multi-Step Tasks: "Research X, then Y, then write a report comparing them."

  • Dependency Management: When step B cannot start until step A is finished (e.g., compile code -> run tests).

  • Resource Constraints: To optimize the usage of expensive tools or API calls.

  • Error Recovery: If a step fails, the plan can be adjusted dynamically without restarting from scratch.

Use Cases

  • Travel Itinerary: Searching for flights, hotels, and activities, then checking availability, then booking.

  • Software Development: Designing a system -> Writing code -> Writing documentation.

  • Data Analysis: Plan -> Data Collection -> Cleaning -> Analysis -> Visualization.

Implementation Pattern

def planning_workflow(goal): # Step 1: Create Plan # The planner generates a list of steps, not the actual work. plan = planner_agent.run( prompt="Create a step-by-step plan to achieve this goal...", input=goal )

results = {}

# Step 2: Execute Plan
for step in plan.steps:
    # Check dependencies
    if not check_dependencies(step, results):
        raise DepedencyError(f"Cannot execute {step.id}")
        
    # Execute the specific step using a worker agent
    result = worker_agent.run(
        prompt=f"Execute this step: {step.description}",
        context=results # Pass context from previous steps
    )
    
    results[step.id] = result
    
# Step 3: Summarize
return synthesizer_agent.run(results)

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.

Automation

multi-agent-collaboration

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

inter-agent communication

No summary provided by upstream source.

Repository SourceNeeds Review
General

reflection

No summary provided by upstream source.

Repository SourceNeeds Review
General

human-in-the-loop

No summary provided by upstream source.

Repository SourceNeeds Review