Skip to content

Define entry vs internal skills for lean agent context #334

Description

@luongnv89

Type

Feature (high confidence)

Description

Skill bundles often need one user-facing workflow while pulling in many supporting pieces (templates, reference docs, subagent prompts, or sibling skills). Today, every installed SKILL.md tends to appear in the agent's available-skills list (name + description), which grows context and routing noise even when only one skill should be explicitly invokable.

Concepts (names open for discussion):

  • Entry / root / surface skill — meant to be invoked by the user (or chosen as the primary trigger for a workflow).
  • Internal / dependency / hidden skills — should run only as part of an entry skill's process, not as standalone peers in the catalog.

Goal: Keep the LLM context lean by surfacing entry skills by default while still installing and loading internals on disk when the entry skill's instructions say to read them or spawn subagents.

Current ASM context:

  • Bundles (data/bundles/*.json, asm bundle install) group installable skills but do not define which skill is the catalog entry.
  • PRD §7.2 dependencies in SKILL.md is planned for install resolution, not visibility.
  • Strong workflows already use a single SKILL.md plus references/ and templates/ (e.g. issue-creator) — that pattern avoids extra catalog entries without new metadata.

Design space (intentionally open — seeking opinions):

  1. Authoring-only: One entry SKILL.md, everything else non-skill assets under the same folder.
  2. expose / visibility frontmatter on separate skill packages; ASM omits expose: false from default agent-facing lists.
  3. Bundle manifest roles (entry vs internal) deciding what gets surfaced after asm bundle install.
  4. Two install roots (surface vs library) so agents that only scan one directory never see internals.

These can be combined. Related problems: skill similarity / wrong routing (#18), sandbox / subset activation (#92) — complementary but not a substitute for entry vs internal at bundle design time.

Open questions for discussion:

  • Should "internal" skills be installable alone via asm install (escape hatch) or discouraged in UX?
  • Who enforces visibility — ASM only, or each agent harness (Claude, Cursor, pi, …)?
  • SKILL.md v2 dependencies vs separate bundle manifest vs both?
  • How do shared internal skills work across multiple entry skills in different bundles?

Related issues:

Reporter Context
feature request: a thought on how to design skill set (bundle).

Problem: sometimes we only need 1 entry skill, then that entry skill can call a whole bunch of different skills, then follow the chain down can have many different skills would be invoke.

So the skill to be directly invoke on the surface -> we can call them entry skill, or root, or the first skill, they are meant to be invoke explicitly by user (but also can be invoke by model).

Those skills down into the line after the first skill, they should not be invoke alone, and only should be invoke in the process of the first skill -> hidden skills / dependence skills, etc.

The idea is to keep the LLM context lean, we can just let the model know about the first skill, does not need to load the hidden skills.

what can be a good solution here?

Acceptance Criteria

  • A short design doc or PRD section compares at least two approaches (e.g. in-repo assets only vs metadata + bundle roles) with tradeoffs for ASM and agent harnesses (medium confidence)
  • Community can comment on naming (entry / internal vs alternatives) and enforcement layer (ASM vs per-agent) before implementation is locked (high confidence)
  • If implemented: asm bundle install and/or skill metadata can express which skills are user-facing vs internal, with a documented default for existing bundles (medium confidence)
  • If implemented: default skill discovery / list output excludes internal skills unless an explicit flag (e.g. --all / --include-internal) is used (medium confidence)
  • Documentation explains when to use one entry skill + references/ vs multiple packaged skills with internal visibility (medium confidence)

Metadata

Priority: medium
Effort: L
Suggested model: GPT-5.5 Medium · Opus 4.8 Low (CursorBench 3.1, 2026-06-12 — advisory)
Labels: feature, enhancement, skill-discovery

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeatureNew feature or requestskill-discoverySkill search and discovery

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions