Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(skills): raise the sandbox store-skills default from 20 to 50 (#96754)

posthog[bot]e91081941787
diff --git a/docs/internal/skills/skill-bundle-api.md b/docs/internal/skills/skill-bundle-api.md
index 8ecc15c25c27..3c2730c61af7 100644
--- a/docs/internal/skills/skill-bundle-api.md
+++ b/docs/internal/skills/skill-bundle-api.md
@@ -18,7 +18,7 @@ GET /api/projects/{team_id}/llm_skills/bundle/?content=stub|full&limit=N
| Param | Default | Behavior |
| --------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `content` | `stub` | `stub` writes one `SKILL.md` per skill with its name, description and instructions to fetch the skill over MCP. `full` writes the whole skill. |
-| `limit` | `20` | Maximum skills in the zip, newest first, at most `100`. Every skill in the zip costs the agent prompt context on each turn, so keep it small. |
+| `limit` | `50` | Maximum skills in the zip, newest first, at most `100`. Every skill in the zip costs the agent prompt context on each turn, so keep it small. |
The response is `application/zip` with `Content-Disposition: attachment; filename="skills-bundle.zip"`.
Each skill sits under `<name>/`.
diff --git a/products/skills/backend/marketplace/README.md b/products/skills/backend/marketplace/README.md
index d67e1325422a..70d2c44bec6c 100644
--- a/products/skills/backend/marketplace/README.md
+++ b/products/skills/backend/marketplace/README.md
@@ -32,7 +32,7 @@ unit-testable against the real `git` binary without booting the app
instructions to fetch the real skill with `skill-get` / `skill-file-get` when it is invoked, so a
sandbox gets discovery for a few KB and skill content only moves over MCP when a skill is used.
`content=full` writes the rendered `SKILL.md`, bundled files and Codex sidecar. Newest first,
- `limit` skills (default 20, at most 100; every skill in the zip costs the agent prompt context on
+ `limit` skills (default 50, at most 100; every skill in the zip costs the agent prompt context on
each turn) and 5 MB uncompressed for `full`; the walk stops at the first skill that would cross a
cap, and sizes are checked from column byte counts before any content loads.
`X-Skills-Included`, `X-Skills-Dropped` (over the cap) and `X-Skills-Skipped` (failed the spec
diff --git a/products/skills/backend/marketplace/packaging.py b/products/skills/backend/marketplace/packaging.py
index eeccc4a1b127..3f8aa1711e70 100644
--- a/products/skills/backend/marketplace/packaging.py
+++ b/products/skills/backend/marketplace/packaging.py
@@ -32,7 +32,7 @@ SPEC_DESCRIPTION_MAX_LENGTH = 1024
# context on each turn (the harness lists name and description of every discovered skill), so the
# count is bounded by what an agent can usefully carry, not by what the user owns. The client picks
# the count up to the ceiling.
-DEFAULT_BUNDLE_SKILLS = 20
+DEFAULT_BUNDLE_SKILLS = 50
MAX_BUNDLE_SKILLS = 100
# Zip-bomb defense for import: bound member count and per-member *decompressed* read so a small
diff --git a/products/skills/frontend/generated/api.schemas.ts b/products/skills/frontend/generated/api.schemas.ts
index d082ea4eff39..fc89bdb87e58 100644
--- a/products/skills/frontend/generated/api.schemas.ts
+++ b/products/skills/frontend/generated/api.schemas.ts
@@ -805,7 +805,7 @@ export type LlmSkillsBundleRetrieveParams = {
*/
content?: LlmSkillsBundleRetrieveContent
/**
- * Maximum number of skills in the zip, newest first; default 20, at most 100. Every skill in the zip costs the agent prompt context on each turn, so pick what the harness can usefully carry. Skills past the limit are reported in X-Skills-Dropped.
+ * Maximum number of skills in the zip, newest first; default 50, at most 100. Every skill in the zip costs the agent prompt context on each turn, so pick what the harness can usefully carry. Skills past the limit are reported in X-Skills-Dropped.
* @minimum 1
* @maximum 100
*/
diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.ts
index 5c2c0019bf19..eda320b9e5f1 100644
--- a/services/mcp/src/api/generated.ts
+++ b/services/mcp/src/api/generated.ts
@@ -98616,7 +98616,7 @@ export namespace Schemas {
*/
content?: LlmSkillsBundleRetrieveContent;
/**
- * Maximum number of skills in the zip, newest first; default 20, at most 100. Every skill in the zip costs the agent prompt context on each turn, so pick what the harness can usefully carry. Skills past the limit are reported in X-Skills-Dropped.
+ * Maximum number of skills in the zip, newest first; default 50, at most 100. Every skill in the zip costs the agent prompt context on each turn, so pick what the harness can usefully carry. Skills past the limit are reported in X-Skills-Dropped.
* @minimum 1
* @maximum 100
*/