Skip to main content
Glama
prompt-provider-commands-examples.mdโ€ข3.57 kB
# Prompt Provider Commands: Example Usage Below are example usages for all prompt-related commands in Cipher CLI. Each example includes a sample command and a dropdown with the expected output/result. --- ## 1. List Active and Available Providers **Command:** ```bash /prompt-providers list ``` <details> <summary>Show Output</summary> ``` ๐Ÿ“‹ System Prompt Providers (Enhanced Mode) ๐ŸŸข Active Providers: ๐ŸŸข user-instruction (static) ๐ŸŸข built-in-memory-search (static) ... ๐ŸŸก Available (Enabled, Not Yet Loaded): ๐ŸŸก summary (dynamic) ๐ŸŸก project-guidelines (file-based) ๐Ÿ’ก Use /prompt-providers add-dynamic or add-file to activate more providers. ``` </details> --- ## 2. Show All Providers (Enabled and Disabled) **Command:** ```bash /prompt-providers show-all ``` <details> <summary>Show Output</summary> ``` ๐Ÿ“‹ All Providers (Enabled and Disabled) ๐ŸŸข Active: ๐ŸŸข user-instruction (static) ... ๐ŸŸก Available (Enabled, Not Yet Loaded): ๐ŸŸก summary (dynamic) ๐Ÿ”ด Disabled: ๐Ÿ”ด project-guidelines (file-based) ๐Ÿ’ก Use /prompt-providers enable/disable to manage provider status. ``` </details> --- ## 3. Add a Dynamic Provider **Command:** ```bash /prompt-providers add-dynamic summary --history 10 ``` <details> <summary>Show Output</summary> ``` โœ… Dynamic provider 'summary' added/updated. ๐Ÿ“ Generated summary for 'summary': Summary: The conversation covers project setup, coding standards, and collaboration rules. ``` </details> --- ## 4. Add a File-Based Provider **Command:** ```bash /prompt-providers add-file project-guidelines --summarize true ``` <details> <summary>Show Output</summary> ``` ๐Ÿ’ก LLM summary generated and cached for file-based provider. โœ… File-based provider 'project-guidelines' added/updated. ``` </details> --- ## 5. Remove a Provider **Command:** ```bash /prompt-providers remove summary ``` <details> <summary>Show Output</summary> ``` โœ… Provider 'summary' removed. ``` </details> --- ## 6. Update a Providerโ€™s Config **Command:** ```bash /prompt-providers update project-guidelines --summarize false ``` <details> <summary>Show Output</summary> ``` โœ… Provider 'project-guidelines' updated. ``` </details> --- ## 7. Enable a Provider **Command:** ```bash /prompt-providers enable project-guidelines ``` <details> <summary>Show Output</summary> ``` โœ… Provider 'project-guidelines' enabled. ``` </details> --- ## 8. Disable a Provider **Command:** ```bash /prompt-providers disable project-guidelines ``` <details> <summary>Show Output</summary> ``` โœ… Provider 'project-guidelines' disabled. ``` </details> --- ## 9. Show Current System Prompt **Command:** ```bash /prompt ``` <details> <summary>Show Output</summary> ``` ๐Ÿ“ Current System Prompt: โ•ญโ”€ System Prompt โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ You are an AI programming assistant ... โ”‚ โ”‚ ... โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ ๐Ÿ’ก Prompt length: 1200 characters ๐Ÿ’ก Line count: 30 lines ``` </details> --- ## 10. Show Prompt Statistics **Command:** ```bash /prompt-stats ``` <details> <summary>Show Output</summary> ``` ๐Ÿ“Š System Prompt Performance Statistics ๐Ÿš€ **Enhanced Generation Performance** - Providers used: 7 - Total prompt length: 1200 characters - Generation time: 120 ms - Success: โœ… ``` </details>

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/campfirein/cipher'

If you have feedback or need assistance with the MCP directory API, please join our Discord server