Repository navigation
Conversation
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
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #13415
Summary
Documents that
load_skillremains advertised and callable as a direct tool when Code Mode is enabled — it does not need to be discovered throughlist_functionsor invoked viaexecute_javascript.Since PR #13574, the Code Mode tool filter keeps
load_skilladvertised 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 buildfromdocumentation/) and checking the rendered page: the new:::noteadmonition renders with its text and a valid link to/docs/guides/context-engineering/using-skills.Note:
maincurrently fails the docs build for unrelated reasons (staleoi-kit/acp/referencesidebar id and broken links left over from the oi-kit docs restructuring). This was confirmed by building unmodifiedmain; 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 onlycode-mode.md.Related Issues