Skip to content

feat: Add !\command\`` dynamic context syntax in skills #10892

@sambostock

Description

@sambostock

Summary

Support the !command`` syntax in skills to inject dynamic content at load time, compatible with Claude Code's implementation.

Example

---
name: project-context
description: Provides current project context
---

Current branch: !`git branch --show-current`
Current date: !`date`

When loaded, commands are executed and output replaces the placeholder.

Considerations

  • Request bash permission for each command
  • Timeout and abort signal support
  • Output truncation for large outputs

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions