Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

Adds a unified include_files frontmatter option across Agent Skills and Agent Definitions, and standardizes file-context blocks to the <@path> tag format.

Key changes:

  • Agent Definitions: support include_files (workspace-root globs) and inject matching file contents as a synthetic user message when the agent runs (inherits patterns like prompt inheritance).
  • Agent Skills: implement include_files (skill-dir globs) with conservative size/count limits and include the rendered context in skill tool output.
  • @file mention expansion now renders file context using <@...> tags (instead of <mux-file>), matching include_files output.
  • Docs: document include_files in Agents + Agent Skills pages.

Validation:

  • make static-check

Generated with mux • Model: openai:gpt-5.2 • Thinking: xhigh

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@ammar-agent
Copy link
Collaborator Author

@codex review

Fixed file-path escaping for <@...> context blocks by percent-encoding unsafe characters in tag names (e.g. spaces -> %20). Added a unit test covering space-containing paths.

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. You're on a roll.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

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.

1 participant