PTENES
PATH 3 · 🥇 BUILDER LEVEL

🛠️ Skills & Agents

Stop repeating tasks. Here you package each Fábrica capability into on-demand skills and subagents that work on their own. In the end, your arsenal becomes an asset: build once, run it infinitely many times.

4
Modules
24
Topics
~3h
Duration
Intermediate
Level
SKILL · diagnostico-ia 1 · read the company description 2 · apply frameworks (T2) 3 · generate a mini-diagnosis orches- translator 🕵️ company-researcher ✍️ redator-estrategia 📄 gerar-entregavel

Learning path map

Detailed content

3.1~45 min

🧱 Skills and subagents: what they are

The two components that turn Claude Code into a factory: a skill (an on-demand reusable capability) and a subagent (isolated work with its own context). When to use each one and why they become assets.

What it is:

A capability Claude Code loads when needed: a SKILL.md file with instructions and references. Teach it once, use it whenever the trigger fires.

Why learn:

Each repeated Factory task (diagnose, generate a document) becomes a skill. You stop re-explaining and gain consistency.

Key concepts:

On demand · SKILL.md · reuse · triggered by description.

What it is:

A separate Claude instance with its own context window, system prompt, and tools. It receives a task, works independently, and returns only the result.

Why learn:

Researching a company fills the context. A subagent isolates that mess and gives you only the essentials — the parent stays clean.

Key concepts:

Isolated context · system prompt · own tools · returns summary.

What it is:

Skill = a capability the main agent gains (generating PPTX). Subagent = a separate worker for a mission that consumes a lot of context (scanning the web).

Why learn:

Choosing the wrong one costs context and time. The simple rule prevents overengineering.

Key concepts:

Skill vs. delegation · context cost · “in the same thread” vs. “separate thread.”

What it is:

A SKILL.md file with frontmatter (name + description) at the top and the body in Markdown with the steps. The description is what triggers the skill.

Why learn:

Writing the right description determines whether the skill gets used. It's the most important and most overlooked piece.

Key concepts:

Frontmatter · name · trigger description · body with steps.

What it is:

Skills live in .claude/skills/ (from the project) or ~/.claude/skills/ (personal). Subagents stay in .claude/agents/. Each one in a folder with its file.

Why learn:

Knowing where it is helps Claude Code find the resource. Personal = applies to every project; project-level = goes with the repo.

Key concepts:

.claude/skills · .claude/agents · project vs. personal scope.

What it is:

Each skill and agent is a piece you build once and reuse every time. Together, they form the Factory’s machinery—your arsenal.

Why learn:

It’s the "minimum input, maximum output" thesis turning into code. The effort stays in building, not delivery.

Key concepts:

Reusable asset · composition · arsenal · near-zero marginal cost.

View Full
3.2~45 min

🎯 Build your first skill (diagnostico-ia)

From trigger to packaging: define the description that triggers it, write the deterministic body, attach the T2 cheat sheets, test, iterate, and version. At the end, a skill that spits out a mini-diagnosis.

What it is:

The frontmatter description explains when to use the skill. "Use it to assess the AI maturity of a company described in text."

Why learn:

If the description is vague, the skill never triggers. A good description = strong verbs + concrete triggers.

Key concepts:

Trigger · action verbs · “use when” · specificity.

What it is:

The Markdown body lists the steps: research the company, score maturity from 1-5, list 3 quick wins, suggest a 30/60/90 roadmap.

Why learn:

Numbered, specific steps produce repeatable output. Vague instructions produce a different result every time.

Key concepts:

Numbered steps · determinism · fixed output format.

What it is:

The skill points to supporting files (the maturity and quick-win cheat sheets you distilled in T2), loaded only when needed.

Why learn:

References give the skill consulting-level rigor without bloating SKILL.md. Lazy RAG in action.

Key concepts:

Supporting files · on-demand loading · lean context.

What it is:

Run the skill with a real company and check: did it trigger on its own? Does the output include maturity, quick wins, and a roadmap?

Why learn:

A real-world test reveals whether the description triggers and whether the output is useful. Without it, it's just theory.

Key concepts:

Test case · trigger · output check.

What it is:

Adjust the description and steps based on the test, complete the skill folder (SKILL.md + references), and get it ready to use.

Why learn:

The first version rarely gets it right. Iteration is the real work; packaging is what turns it into an asset.

Key concepts:

Iteration · skill folder · ready for reuse.

What it is:

Version-control the skill in Git (alongside the project) and, if you want, share it with your team or the community. History = traceable progress.

Why learn:

Version control protects your asset and lets you improve it without fear. Sharing builds authority.

Key concepts:

Git · version · sharing · durable asset.

View Full
3.3~45 min

📄 The document skill (DocX/PPTX/Excel/PDF)

The polished deliverables aren't made from Markdown: they're made with Python. python-docx, python-pptx, openpyxl (with a color convention), and reportlab—wrapped in the gerar-entregavel skill. Markdown goes in; .docx and .pptx come out.

What it is:

The client opens .docx, .pptx, .xlsx, and .pdf files — not raw Markdown. Generating them with code keeps everything formatted, repeatable, and on-brand.

Why learn:

It’s what makes the package feel like elite consulting. Without it, the deliverable dies in a text editor.

Key concepts:

Final deliverable · formatting · repeatable · branding.

What it is:

The library that creates .docx files: Document(), add_heading, add_paragraph, add_table and runs with color/bold. Generates the report and the SOW.

Why learn:

The final report and SOW are Word deliverables. Mastering docx means generating both without manual work.

Key concepts:

Document · headings · tables · formatted runs.

What it is:

Presentation(), slides by layout (0 title, 6 blank), text boxes, bullets, and RGBColor for colors. Generates the executive deck.

Why learn:

The deck is what closes the sale (T5). Watch out for the trick: it's RGBColor, no RgbColor.

Key concepts:

Layouts · text boxes · RGBColor · executive deck.

What it is:

Create .xlsx with real formulas (never hard-coded values) and the color convention: blue = input, black = formula, green = link, red = external, yellow = assumption.

Why learn:

The ROI calculator lives in Excel. The right formulas and colors help clients trust it and edit assumptions.

Key concepts:

Formulas vs. values · 1-based indexing · color convention · ROI.

What it is:

The Platypus method builds a story of elements (Paragraph, Spacer, Table) and ends with doc.build(story). Generates PDFs ready to send.

Why learn:

PDF is the universal delivery format. Platypus gives you style control without working with coordinates.

Key concepts:

Platypus · story · build at the end · styles.

What it is:

Wrap the four libraries into a skill: "given a Markdown file, generate the corresponding .docx/.pptx/.xlsx/.pdf". One reference for the whole package.

Why learn:

Becomes the Factory’s output engine. Markdown goes in from any prompt; a professional file comes out.

Key concepts:

gerar-entregavel · wrapper · Markdown → file · output engine.

View Full
3.4~45 min

🕵️ Build your subagent (researcher & writer)

Two isolated workers: the company researcher gathers structured context, and the strategy writer drafts the deliverable. Reliable schema output, orchestrated with the skill—and when it’s worth parallelizing.

What it is:

An agent file: frontmatter (name/description), system prompt (who it is), enabled tools, and the output format it should return.

Why learn:

Defining these four parts well is what separates a useful agent from one that returns loose text.

Key concepts:

System prompt · tools · expected output · scope.

What it is:

A subagent that receives a company name + description, researches it, and returns a CompanyContext: industry, stack, pain points, competitors, and AI initiatives.

Why learn:

It’s Phase 1 of the Factory turned into a worker. It isolates the heavy research and returns only clean context.

Key concepts:

CompanyContext · isolated research · structured output.

What it is:

Receives the CompanyContext + a framework (e.g., quick wins) and writes the deliverable in Markdown, ready for the generate-deliverable skill to format.

Why learn:

Separate research from writing. Each agent does one thing well, making it easy to test and improve.

Key concepts:

Context + framework → draft · separation of roles.

What it is:

Ask the agent to return JSON in a fixed format (a schema). Since the CompanyInput/ResearchOutput of the architecture: predictable fields.

Why learn:

Structured output is what makes it possible to chain agents. Free-form text breaks the pipeline; a schema doesn’t.

Key concepts:

Schema · predictable JSON · chainable · contract.

What it is:

The main agent calls the researcher-company, passes the context to the strategy-writer, and uses the gerar-entregavel skill to finalize the file.

Why learn:

It’s the Factory in miniature: research → writing → document. Orchestration is the builder’s job.

Key concepts:

Orchestration · chaining · research→writing→document pipeline.

What it is:

Run several subagents at the same time when the tasks are independent—for example, research 3 companies in parallel, with no shared state.

Why learn:

Parallelizing independent tasks saves time. But if one depends on another, the work is sequential — knowing the difference prevents bugs.

Key concepts:

Parallel vs. sequential · independence · no shared state.

View Full
← Track 2: Synthesis Next track: The Factory →