agentuity-cli-profile-current
Show the name of the currently active profile
When & Why to Use This Skill
The agentuity-cli-profile-current skill allows users to instantly identify the active configuration profile within the Agentuity CLI environment. It enhances developer productivity by providing immediate visibility into the current execution context, ensuring that commands and agent behaviors are aligned with the intended environment settings.
Use Cases
- Environment Verification: Quickly confirm whether the agent is operating in a development, staging, or production profile to prevent accidental execution of commands in the wrong environment.
- Configuration Troubleshooting: Use the tool to diagnose permission issues or unexpected behaviors by verifying which profile's credentials and settings are currently active.
- Automated Scripting: Integrate the command into shell scripts or automation workflows to conditionally execute logic based on the active profile name, utilizing the JSON output for easy parsing.
| name | agentuity-cli-profile-current |
|---|---|
| description | Show the name of the currently active profile |
| version | "0.0.103" |
| license | Apache-2.0 |
| allowed-tools | "Bash(agentuity:*)" |
| command | "agentuity profile current" |
| tags | "read-only fast" |
Profile Current
Show the name of the currently active profile
Usage
agentuity profile current
Examples
Show current profile:
bunx @agentuity/cli profile current
Show output in JSON format:
bunx @agentuity/cli profile current --json
Output
Returns: string