---
title: Orchestrating multiple Skills for automated delivery
canonical: "https://xiaofeng.dev/en/writing/skill-suite-orchestration/"
pubDate: 2026-10-25
updatedDate: 2026-11-22
author: 唐小锋 Xiaofeng TANG
description: "I recently developed a market research skill suite, designed to guide users from inputting their research needs through the research process, culminating in…"
tags: [Skill, Agent, Codex, Workflow]
---

I recently developed a market research skill suite, designed to guide users from inputting their research needs through the research process, culminating in a viewable and explorable market map. This tool suite comprises five skills. Initially, I allowed users to choose their own skills.

As a developer, I've always had a basic assumption: **users need to understand the components and structure of these tools, know which to use first, which to use later, and who should receive the results of each step**. But after putting it to real users, I found that this expectation was a bit too high.

## Users don't know where to start or how to continue.

Let me briefly explain the roles of these five skills:

- **Research and Import ( `fnb-research-import`)**: Clarify research needs, generate research prompts, execute Deep Research and collect results, and then review, verify and import map data.
- **Product information verification ( `fnb-product-catalog-grounding`)**: Verify the identity, packaging specifications, channel price and manufacturer claims of specific products, and save the source and pictures.
- **Social media data collection `fnb-product-social-grounding`:** Supplement consumer reviews, perceptions, and relevant citations around the selected product line or product.
- **Market Map Delivery ( `fnb-market-map`)**: Organizes the stages required for map delivery, opens the map via CLI and checks the display results; it also assumes overall control responsibilities later.
- **Insight Presentation ( `fnb-html-slides`)**: Based on existing research and approved materials, extract insights, organize narratives, and create client presentation slides.

Each skill's responsibilities can be clearly explained individually, but for users to complete a survey, they also need to know how they connect with each other.

After completing the first version, the user issues I encountered were:

- I don't know where to start, where to continue, or how to drive the Agent to produce the final result.
- They were unfamiliar with the Agent tool (Codex) they were using, and had limited understanding of the prompts and skills.
- Even writing a user manual to help users remember the names and calling relationships of the five skills would still be a difficult task.

Considering that there are already good solutions for excellent software engineering skills, I ultimately chose to elevate **the Market Map Skill** to the central control entry point, while the suite still consists of five skills. Users only need to describe their goals, and the central control is responsible for scheduling the sub-skills, driving the entire process, and finally delivering the deliverables.

In implementing this, I referenced the Compound Engineering plugin [`$lfg`](https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/lfg/SKILL.md). It organizes planning, implementation, review, testing, and PR delivery into a sequential workflow. What inspired me was that it defines how to call the next step, how to return from each step, and when to stop.

## First, determine a main storyline that can be completed.

To ensure the overall control continues to advance, we must first clarify what the final delivery of this mission will be.

My chosen main approach is: from the user proposing the market they want to research, to obtaining the market map. This involves clarifying research requirements, completing Deep Research, reviewing, verifying, and importing the results, and finally confirming that the map actually contains visible data.

Product information can be further supplemented, social media can help understand consumer perception, and existing research can be compiled into insight reports and presentation slides. However, the triggering conditions for these tasks are different, and not all available skills can be arranged into a default, mandatory pipeline.

```mermaid
flowchart LR
    A["Confirm requirements"] --> B["Deep research"]
    B --> C["Review and import"]
    C --> D["Map and verify"]
    D --> E["Delivery"]
```

This diagram only retains the five main stages; the specific verification steps are merged into the corresponding stages.

The basic verification process determines which objects will appear on the map; this is part of the main process. In automatic mode, after the map becomes visible for the first time, it will continue to verify the indicators and displayed products within the area before reporting the results of this round. Therefore, opening the map is an intermediate result and does not mean the end of this round of tasks.

The newly added social media queries and insights demos are optional side quests. Users can choose them after map delivery or submit these tasks separately, without having to run the entire research process from scratch each time.

The central control system schedules corresponding supplementary tasks based on user selections:

```mermaid
flowchart LR
    O["Orchestrating Skill"] <--> P["Expand product verification"]
    O <--> S["Collect social data"]
    O <--> H["Present findings"]
```

The double-headed arrows indicate on-demand invocation and result feedback; there is no mandatory order among the three branches. After receiving the results, the central control unit updates the deliverables and next-step options.

## Enable child skills to support automatic execution and result handover.

With the central control entry point in place, the execution method of sub-skills still needs to be modified. Otherwise, even though the central control knows which skill to call, the process will still stop and wait for the user after each sub-skill completes its task, making it impossible to continue the flow.

LFG uses different calling modes for different sub-skills:

<table><thead><tr><th>mode</th><th>Where is it used?</th><th>Its role in arrangement</th></tr></thead><tbody><tr><td><code class="rounded bg-[#f4f0e3] px-1 py-0.5 text-[0.9em]">return-to-caller</code></td><td><code class="rounded bg-[#f4f0e3] px-1 py-0.5 text-[0.9em]">ce-work</code></td><td>Once the implementation and local verification are complete, the result is returned, and subsequent work is organized by the caller.</td></tr><tr><td><code class="rounded bg-[#f4f0e3] px-1 py-0.5 text-[0.9em]">pipeline</code></td><td>Simplify, browser testing, submit PR, care PR, etc.</td><td>As a step in the assembly line, it completes the process or reports blockages according to the rules of each skill.</td></tr><tr><td><code class="rounded bg-[#f4f0e3] px-1 py-0.5 text-[0.9em]">agent</code></td><td><code class="rounded bg-[#f4f0e3] px-1 py-0.5 text-[0.9em]">ce-code-review</code></td><td>The system reviews the documents without modifying them, and returns the review results to the user for further processing.</td></tr><tr><td><code class="rounded bg-[#f4f0e3] px-1 py-0.5 text-[0.9em]">non-interactive</code></td><td><code class="rounded bg-[#f4f0e3] px-1 py-0.5 text-[0.9em]">ce-compound</code></td><td>Complete the experience accumulation according to non-interactive rules, or explain why you skip it.</td></tr></tbody></table>

These names correspond to their respective responsibilities; not all skills need to implement the same set of parameters. For specific invocation instructions, please refer to [the LFG source code](https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/lfg/SKILL.md) and its [ce-work return conventions](https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/lfg/references/work-return.md).

In my workflow, `mode: auto-delivery` describes how the orchestrator handles delivery. A single orchestrator coordinates it, so I did not adopt the ` return-to-caller` name or define another structured return protocol for multiple callers.

However, the results still need to be handed back to the central control: what was completed, where are the deliverables located, what gaps remain, and whether the next step can proceed. This handover information cannot be omitted. Consistency is also needed regarding which report to read next and which entities to work on.

When a sub-skill is used independently, it can be delivered directly to the user; when it is orchestrated by the central control, the result is returned to the central control, which continues to advance the process and makes a unified decision on when to show the user the next option.

## Put research inputs as early as possible

To reduce repeated confirmations during the process, I will guide users to finalize the research scope and key requirements before starting the research.

There are different questioning rhythms for clarifying needs. For example, one approach [`$ce-brainstorm`](https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/ce-brainstorm/SKILL.md)emphasizes asking one question at a time, gradually moving forward; another approach I referenced `$grill-me` is to ask follow-up questions in batches, allowing users to answer them all at once.

The current [`grilling` implementation](https://github.com/mattpocock/skills/blob/main/skills/productivity/grilling/SKILL.md) clearly distinguishes between two types of questions: those with already defined premises can be asked in the same round; those that depend on previous answers are reserved for later rounds. Asking questions in a concentrated manner does not mean dumping all questions on the user at once.

In my scenario, inputs such as the research scope should be clearly listed first, using a combination of numbers and text, allowing users to answer in one go. Further confirmation is only needed if new questions arise that would change the research direction.

## Clearly define the handling rules for areas requiring human decision-making.

Even with pre-selected research input, there may still be situations during execution that require judgment: how to choose the default value, at what confidence level to adopt the research results, to what extent to conduct the review, and when to stop the query.

If these steps are repeatedly paused to ask the user, automated delivery will be constantly interrupted. Therefore, I will write the default strategy and stopping conditions in advance, and explain in the feedback summary what choices were actually made.

For example, fields lacking reliable evidence can be left unaddressed, and existing results can continue to be delivered; when a clear search budget is reached, or no valid new leads are available, the results can be saved and the current round concluded. The completion of the process does not mean that all data has been collected.

Even fallback strategies must have a scope of application. Unverifiable facts cannot be filled in by default values; if missing information would change the research objective, the user still needs to make a decision. Clearly outlining situations that can be handled independently beforehand will reduce unnecessary interruptions.

## After delivery, maintain a clear next step.

Whether using automated delivery or Skills alone, it's essential to guide users to select the next step. For example, after map delivery, you can expand the scope of product verification, add social media data, or start creating an insight demo.

My approach is to typically provide two or three options, arranged in order of priority. Each option is explained in a clear sentence, with the explanation placed outside the option itself, so that the user doesn't have to read a long internal process first.

The next step should be based on the work already completed. If a verification has been completed and there are no new search leads, the user should not be kept prompted to increase the budget or expand the scope, thus trapping the process at the same stage.

For single-choice questions, the Agent's built-in interactive tools can be used first. For example, the tools provided by the Codex environment `request_user_input`, or ` request_user_input_async`the tools allowed in the current mode. Multiple research inputs can be further categorized using numbered text sets.

During automatic execution, pre-defined steps continue directly; options are only displayed when the user needs to select a new work area. This way, the user knows where they are and doesn't have to manually switch between sub-skills.

## Master control Skill design experience

- Required input must be entered upfront to reduce the need for confirmations during the process.
- Define the main delivery line and break down optional enhancements into sub-lines.
- Enables child skills to execute automatically and return the results.
- Define the default strategy, stopping conditions, and situations where queries are required.
- Provide clear next steps based on the actual progress.

## Related Links

- [Compound Engineering: LFG Source Code](https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/lfg/SKILL.md): How the central control calls various sub-skills, processes the returned results, and promotes delivery.
- [LFG: ce-work return convention](https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/lfg/references/work-return.md): The result requirements when returning the implementation phase to the caller.
- [Compound Engineering: ce-brainstorm interaction rules](https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/ce-brainstorm/references/interaction-rules.md): a questioning approach for progressively clarifying requirements.
- [Matt Pocock: grilling](https://github.com/mattpocock/skills/blob/main/skills/productivity/grilling/SKILL.md): ask questions in rounds based on question dependency, focusing on questions that can be answered at the moment.
