AgentSkillsCN

retail-agent-customizer

针对不同应用场景,灵活定制零售代理。无论是适配不同业务类型、行业领域,还是调整输出格式,亦或是修改提示词、拓展垂直行业、改变分析重点,这款代理都能游刃有余。

SKILL.md
--- frontmatter
name: retail-agent-customizer
description: Customize the retail agent for different use cases. Use when adapting for different business types, industries, or output formats, or when modifying prompts, adding verticals, or changing the analysis focus.

Retail Agent Customizer

Common Customizations

GoalWhat to Modify
Different business typeIntakeAgent + MarketResearchAgent prompts
New industry verticalAll agent prompts + StrategyAdvisor criteria
Additional output formatAdd new agent to ParallelAgent
Different analysis criteriaGapAnalysisAgent + report schema
Change AI modelapp/config.py

Quick Customizations

Change Business Vertical

Edit IntakeAgent to recognize new business types:

python
# app/sub_agents/intake_agent/agent.py
INSTRUCTION = """Extract:
- target_location: The location/city/neighborhood
- business_type: Type of business (e.g., restaurant, gym,
  salon, clinic, coworking space, YOUR_NEW_TYPE)
"""

Modify Research Focus

Edit MarketResearchAgent for industry-specific research:

python
# app/sub_agents/market_research/agent.py
INSTRUCTION = """Research the following for {target_location}:
- Demographics and foot traffic
- [ADD YOUR CRITERIA HERE]
- Industry-specific trends for {business_type}
"""

Change Output Schema

Edit the Pydantic schema for different report structure:

python
# app/schemas/report_schema.py
class LocationIntelligenceReport(BaseModel):
    location_score: float
    market_opportunity: str
    # Add your custom fields
    your_custom_field: str

Add New Output Format

Create new artifact agent and add to ParallelAgent:

python
# app/agent.py
artifact_generation_pipeline = ParallelAgent(
    name="ArtifactGenerationPipeline",
    sub_agents=[
        report_generator_agent,
        infographic_generator_agent,
        audio_overview_agent,
        your_new_output_agent,  # Add here
    ],
)

Key Files to Modify

CustomizationPrimary Files
Business typesapp/sub_agents/intake_agent/agent.py
Research focusapp/sub_agents/market_research/agent.py
Competitor criteriaapp/sub_agents/competitor_mapping/agent.py
Analysis logicapp/sub_agents/gap_analysis/agent.py
Recommendationsapp/sub_agents/strategy_advisor/agent.py
Report structureapp/schemas/report_schema.py
Model selectionapp/config.py
Output artifactsapp/sub_agents/artifact_generation/agent.py

[See references/customization-guide.md for detailed examples]