Skip to content

docs(code-mode): note load_skill stays a direct tool - #13995

Open
salim-b wants to merge 2 commits into
aaif-goose:mainfrom
salim-b:agent-docs-code-mode-load-skill
Open

salim-b wants to merge 2 commits into
aaif-goose:mainfrom
salim-b:agent-docs-code-mode-load-skill

Conversation

@salim-b

@salim-b salim-b commented Dec 2, 2026

Copy link
Copy Markdown

Fixes: #13415

Summary

Documents that load_skill remains advertised and callable as a direct tool when Code Mode is enabled — it does not need to be discovered through list_functions or invoked via execute_javascript.

Since PR #13574, the Code Mode tool filter keeps load_skill advertised directly (motivated by #13415, where models often failed to discover the indirect path for loading skills), but this behavior was undocumented. This PR adds a note to the "JavaScript interface" section of the Code Mode guide and minimally adjusts the comparison table's Context Window row so it no longer contradicts the note. Docs-only change; no code is touched.

Testing

Docs-only change, so no unit/integration tests apply. Verified by building the documentation site (npm i && npm run build from documentation/) and checking the rendered page: the new :::note admonition renders with its text and a valid link to /docs/guides/context-engineering/using-skills.

Note: main currently fails the docs build for unrelated reasons (stale oi-kit/acp/reference sidebar id and broken links left over from the oi-kit docs restructuring). This was confirmed by building unmodified main; the failure occurs before and independently of this change. Verification for this PR was done with those pre-existing issues temporarily patched locally, then reverted — the final diff touches only code-mode.md.

Related Issues

With Code Mode enabled, load_skill is still advertised and callable as a
direct tool, so it does not need to be discovered through list_functions
or invoked via execute_javascript. Add a note to the JavaScript interface
section and update the comparison table's Context Window row so it no
longer contradicts this.

Refs aaif-goose#13415

Assisted-by: Goose:glm-5.3-flash
@salim-b
salim-b requested a review from a team as a code owner December 2, 2026 16:43
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-02T18:17:16.555079Z 457bddc New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

The guide implied that only the three meta-tools reach the model
directly once Code Mode is enabled. That understates what every LLM
call carries: Code Mode filters tools by ownership, not usefulness —
prefixed extension tools are hidden behind list_functions and
tools.call, while first-class unprefixed tools (the built-in
developer, summon, and analyze tools), MCP Apps resource tools and,
when a session requires structured output, final_output remain
directly advertised.

Furthermore, the directly advertised tools are also
advertised/usable via Code Mode's
list_functions/get_function_details/execute_javascript.

This branch has not been deployed

No deployments
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.

Preserve load_skill as a direct tool in Code Mode

1 participant