Skip to content

docs: add Inlined Skills & Agents cost-optimization slide - #78709

Merged
pelikhan merged 2 commits into
mainfrom
pelikhan/inlined-skills-slide
Nov 17, 2026
Merged

pelikhan merged 2 commits into
mainfrom
pelikhan/inlined-skills-slide

Conversation

@pelikhan

Copy link
Copy Markdown
Collaborator

Show how a monolithic prompt can become a short execution plan, deferred inline skills, and focused agents on smaller models.

Changes

  • Add an animated cost-optimization slide, emphasizing Inlined, with forward/backward steps and separate small-model contexts. Loaded skills accumulate rather than disappearing after each turn.
  • Include measured examples from Code Simplifier, PR Code Quality Reviewer, and GitHub MCP Tools Report: 41 of 291 non-smoke workflows directly declare inline blocks, and 5 use both skills and agents. Show their successful run counts for 18 Oct-16 Nov 2026 UTC, with explicit caveats that workflow success is not invocation evidence or measured savings.
  • Add reproducible refresh guidance and navigation/layout coverage. Fix the measured-strip/caption overlap.

Native trace spot-checks

These findings are investigation context, not a savings benchmark or a claim that every declared worker runs.

Sample run Observed execution
Code Simplifier, 16 Nov 4 Sonnet 5.5 requests; no sub-agent lifecycle or small-model call observed.
PR Code Quality Reviewer, 16 Nov One completed grumpy-coder invocation resolved to Haiku 5.5 and made 9 requests: 160,800 input tokens (including 137,876 cache-read tokens), 15,695 output tokens. Confirmed by native lifecycle and per-agent shutdown counters.
MCP Tools Report, 15 Nov Two workers completed, but their individual request/token usage is not attributable from retained telemetry. The 13 recorded requests include a routing-classification call; do not report the missing per-worker counters as zero.

Validation

  • make agent-report-progress passed; no impacted Go tests were selected.
  • JavaScript syntax, slide catalog/JSON-LD injection, public-content rules, and refresh instruction-prefix checks passed.
  • Browser checks covered splitting/reversing the prompt, accumulating skill context, small-model jobs, title emphasis, and layout bounds.
  • Playwright suite not run: docs dependencies are not installed.

Screenshot

The slide was visually reviewed in the browser canvas. Screenshot export for GitHub upload was blocked by the local sandbox's Playwright cache policy. Please attach a 16:9 .stage capture before marking this PR ready for review.

@pelikhan
pelikhan marked this pull request as ready for review November 17, 2026 14:58
Copilot AI adaptive review requested due to automatic review settings November 17, 2026 14:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the Inlined Skills & Agents slide changes.

No open issues 🎉

What changed in this PR

Adds an Inlined Skills & Agents slide to gh-aw’s interactive talk deck, illustrating deferred instruction loading and delegation to smaller-model agents.

Changes:

  • Adds stepped animations showing prompt splitting, accumulating skill context, and separate agent contexts.
  • Presents workflow declaration and run-success counts, explicitly distinguishing them from invocation evidence or measured savings.
  • Adds refresh tooling, documentation, and navigation/layout test coverage.
File Description
docs/​tests/​talk.spec.ts Adds coverage for slide navigation, context accumulation, and layout bounds.
docs/​public/​cracktro/​deck.js Implements the animated slide, measured strip, and explanatory notes.
.github/​skills/​cracktro/​slides.md Registers the slide and its durable takeaway.
.github/​skills/​cracktro/​refresh/​inlined-skills-agents.mjs Adds a read-only inventory and workflow-run counting helper.
.github/​skills/​cracktro/​refresh/​inlined-skills-agents.md Documents data sources, refresh steps, validation, and limitations.
.github/​skills/​cracktro/​data-refresh.md Links the slide’s refresh guide.
.github/​skills/​cracktro/​content-rules.md Records the measured-data exception and interpretation caveats.

Review effort: Balanced (adaptive)

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Fix failing check Analyze (python) (FAILURE): Check run.

Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering.

Structured data
{
  "completed_task": 0,
  "head": "e1ba12dea129e93b1dca2364bfa1d9c1fec5a5f9",
  "kind": "requested",
  "schema_version": "1",
  "state": "86ba3f7aec26b431a841f52b2daca2d11e129965aa5e77f42aaa376feedcb714",
  "work": [
    "43282e7f5b3023b8c8cf9099eab79e7b99f650965f08b47d3df33cde5589879d"
  ],
  "workflow": "pr-sous-chef"
}

Generated by 👨🍳 PR Sous Chef · pi · routed: haiku55 xhigh · ~2 AIC · ⌖ ~2 AIC · ⊞ 7K · ◷
Comment /souschef to run again

…ls-slide

# Conflicts:
#	.github/skills/cracktro/data-refresh.md
#	.github/skills/cracktro/slides.md
#	docs/public/cracktro/deck.js

Co-authored-by: copilot-swe-agent[bot] <[email protected]>

Copilot AI commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:...

Merged the latest main in bc874df2fb. The Python analysis queries completed; the check failed when CodeQL’s GitHub API status reporting hit an installation rate limit, so no Python source fix was indicated. I did not trigger CI.

Copilot AI requested a review from gh-aw-bot November 17, 2026 15:49
@pelikhan
pelikhan merged commit e0abb98 into main Nov 17, 2026
24 checks passed
@pelikhan
pelikhan deleted the pelikhan/inlined-skills-slide branch November 17, 2026 15:51
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants