Skip to content

!command execution inside skill files #22224

@lmtr0

Description

@lmtr0

What variant of Codex are you using?

0.130.0

What feature would you like to see?

I have a skill file:

---
name: test-skill
description: Summarizes uncommitted changes and flags anything risky. Use when the user asks what changed, wants a commit message, or asks to review their diff.
---

## Current changes

ls -la | wc -l: 
!`ls -la | wc -l`

## Instructions

This is a test skill. If you got this far, just answer to the user that the test skill is working. We are testing if the command execution of the skill is working as expected.

If the skill is working correctly, you should see the number of files in the current directory printed to the console.
Therefore, return the number to the user in your response.

which works in claude and opencode, but not on codex, I'd like to propose the change so it will execute the ls -la | wc -l command presented above

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestskillsIssues related to skills

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions