Skip to content

Conversation

@DOsinga
Copy link
Collaborator

@DOsinga DOsinga commented Jan 28, 2026

alternative for: https://github.com/block/goose/pull/6520/changes

The Codex CLI has removed the skills feature flag in newer versions, making skills always enabled. This change removes the flag handling from the goose codex provider to simplify the code.

Changes:

  • Remove enable_skills field from CodexProvider struct
  • Remove --enable/--disable skills CLI flag usage
  • Remove CODEX_ENABLE_SKILLS config key from metadata
  • Update documentation to remove skills flag references
  • Update all tests to remove enable_skills field

Skills are now always enabled in Codex CLI, so there's no need for backwards compatibility with older CLI versions that supported the flag.

The Codex CLI has removed the skills feature flag in newer versions,
making skills always enabled. This change removes the flag handling
from the goose codex provider to simplify the code.

Changes:
- Remove enable_skills field from CodexProvider struct
- Remove --enable/--disable skills CLI flag usage
- Remove CODEX_ENABLE_SKILLS config key from metadata
- Update documentation to remove skills flag references
- Update all tests to remove enable_skills field

Skills are now always enabled in Codex CLI, so there's no need for
backwards compatibility with older CLI versions that supported the flag.
@DOsinga DOsinga requested a review from a team as a code owner January 28, 2026 17:09
Copilot AI review requested due to automatic review settings January 28, 2026 17:09
@DOsinga DOsinga mentioned this pull request Jan 28, 2026
10 tasks
@github-actions
Copy link
Contributor

github-actions bot commented Jan 28, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://block.github.io/goose/pr-preview/pr-6775/

Built to branch gh-pages at 2026-01-28 17:53 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes support for toggling Codex “skills” via goose configuration/CLI, aligning the Codex provider with newer Codex CLI behavior where skills are always enabled.

Changes:

  • Removes enable_skills from CodexProvider and stops passing --enable skills to the Codex CLI.
  • Removes CODEX_ENABLE_SKILLS from provider metadata/config-keys and updates provider tests accordingly.
  • Updates CLI provider documentation to remove skills-flag references.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
documentation/docs/guides/cli-providers.md Removes user-facing docs references to Codex skills toggling/config.
crates/goose/src/providers/codex.rs Deletes skills flag/config plumbing from Codex provider and updates tests/metadata.
crates/goose-cli/src/session/builder.rs Removes an extra blank line (no functional behavior change).

Comment on lines 68 to 72
**Features:**
- Uses OpenAI's GPT-5 series models (gpt-5.2-codex, gpt-5.2, gpt-5.1-codex-max, gpt-5.1-codex-mini)
- Configurable reasoning effort levels (low, medium, high)
- Optional skills support for enhanced capabilities
- JSON output parsing for structured responses
- Automatic filtering of goose extensions from system prompts
Copy link

Copilot AI Jan 28, 2026

Choose a reason for hiding this comment

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

This updates public documentation alongside a code change; per repo policy (.github/copilot-instructions.md:48), documentation changes that track unreleased behavior should be deferred (or hidden/unlisted) until the release that includes the change.

Copilot uses AI. Check for mistakes.
Douwe Osinga added 3 commits January 28, 2026 12:30
- Remove unused import of StreamableHttpOptions from session/mod.rs
- Fix type mismatch in parse_cli_flag_extensions to accept StreamableHttpOptions

These were pre-existing errors on main that are now fixed.
@DOsinga DOsinga merged commit 87417bc into main Jan 28, 2026
16 checks passed
@DOsinga DOsinga deleted the remove-codex-skills-flag branch January 28, 2026 18:10
zanesq added a commit that referenced this pull request Jan 28, 2026
…ensions

* 'main' of github.com:block/goose:
  chore: re-sync package-lock.json (#6783)
  upgrade electron to 39.3.0 (#6779)
  allow skipping providers in test_providers.sh (#6778)
  fix: enable custom model entry for OpenRouter provider (#6761)
  Remove codex skills flag support (#6775)
  Improve mcp test (#6671)
  Feat/anthropic custom headers (#6774)
  Fix/GitHub copilot error handling 5845 (#6771)
  fix(ui): respect width parameter in MCP app size-changed notifications (#6376)
  fix: address compilation issue in main (#6776)
lifeizhou-ap added a commit that referenced this pull request Jan 28, 2026
* main: (47 commits)
  Upgrade error handling (#6747)
  Fix/filter audience 6703 local (#6773)
  chore: re-sync package-lock.json (#6783)
  upgrade electron to 39.3.0 (#6779)
  allow skipping providers in test_providers.sh (#6778)
  fix: enable custom model entry for OpenRouter provider (#6761)
  Remove codex skills flag support (#6775)
  Improve mcp test (#6671)
  Feat/anthropic custom headers (#6774)
  Fix/GitHub copilot error handling 5845 (#6771)
  fix(ui): respect width parameter in MCP app size-changed notifications (#6376)
  fix: address compilation issue in main (#6776)
  Upgrade GitHub Actions for Node 24 compatibility (#6699)
  fix(google): preserve thought signatures in streaming responses (#6708)
  added reduce motion support for css animations and streaming text (#6551)
  fix: Re-enable subagents for Gemini models (#6513)
  fix(google): use parametersJsonSchema for full JSON Schema support (#6555)
  fix: respect GOOSE_CLI_MIN_PRIORITY for shell streaming output (#6558)
  feat: add requires_auth flag for custom providers without authentication (#6705)
  fix: normalize extension names consistently in ExtensionManager (#6529)
  ...
michaelneale added a commit that referenced this pull request Jan 29, 2026
* main: (30 commits)
  Different approach to determining final confidence level of prompt injection evaluation outcomes (#6729)
  fix: read_resource_tool deadlock causing test_compaction to hang (#6737)
  Upgrade error handling (#6747)
  Fix/filter audience 6703 local (#6773)
  chore: re-sync package-lock.json (#6783)
  upgrade electron to 39.3.0 (#6779)
  allow skipping providers in test_providers.sh (#6778)
  fix: enable custom model entry for OpenRouter provider (#6761)
  Remove codex skills flag support (#6775)
  Improve mcp test (#6671)
  Feat/anthropic custom headers (#6774)
  Fix/GitHub copilot error handling 5845 (#6771)
  fix(ui): respect width parameter in MCP app size-changed notifications (#6376)
  fix: address compilation issue in main (#6776)
  Upgrade GitHub Actions for Node 24 compatibility (#6699)
  fix(google): preserve thought signatures in streaming responses (#6708)
  added reduce motion support for css animations and streaming text (#6551)
  fix: Re-enable subagents for Gemini models (#6513)
  fix(google): use parametersJsonSchema for full JSON Schema support (#6555)
  fix: respect GOOSE_CLI_MIN_PRIORITY for shell streaming output (#6558)
  ...
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