Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
Wrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ai-shell-team/aish/prompt-designer)<a href="https://agentmods.dev/skills/ai-shell-team/aish/prompt-designer"><img src="https://agentmods.dev/badge/skills/ai-shell-team/aish/prompt-designer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ai-shell-team/aish/prompt-designer"><img src="https://agentmods.dev/badge/skills/ai-shell-team/aish/prompt-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.00815 |
| Opus 5 | $0.00024 | $0.00407 |
| Sonnet 5 | $0.00010 | $0.00163 |
| Haiku 4.5 | $0.00005 | $0.00081 |
Grade A, and why
prompt-designer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Prompt Designer
Help users design and customize prompts for aish shell.
Workflow
Step 1: Check or Initialize
# Check if user has a prompt file
if [[ ! -f ~/.config/aish/scripts/hooks/aish_prompt.aish ]]; then
# Create from template
mkdir -p ~/.config/aish/scripts/hooks
cp <aish-src>/src/aish/scripts/templates/aish_prompt.aish ~/.config/aish/scripts/hooks/
fi
# Read current content
cat ~/.config/aish/scripts/hooks/aish_prompt.aish
Step 2: Modify or Regenerate
Modify existing:
- Read current file
- Apply only requested changes
- Preserve existing customizations
Regenerate (when user asks):
- "重写", "重新生成", "create new"
- Generate completely new prompt
Template Location
<aish-src>/src/aish/scripts/templates/aish_prompt.aish
User Hook Location
~/.config/aish/scripts/hooks/aish_prompt.aish
Environment Variables
| Variable | Description | Example |
|---|---|---|
AISH_CWD |
Current working directory | /home/user/project |
AISH_EXIT_CODE |
Last command exit code | 0, 1, 127 |
AISH_GIT_REPO |
"1" if in git repository | 1 or unset |
AISH_GIT_BRANCH |
Current branch name | main, feature-x |
AISH_GIT_STATUS |
Repository status | clean, staged, dirty |
AISH_GIT_STAGED |
Number of staged files | 3 |
AISH_GIT_MODIFIED |
Number of modified files | 11 |
AISH_GIT_UNTRACKED |
Number of untracked files | 9 |
AISH_GIT_AHEAD |
Commits ahead of upstream | 2 |
AISH_GIT_BEHIND |
Commits behind upstream | 1 |
AISH_VIRTUAL_ENV |
Virtual environment name | .venv, myenv |
ANSI Colors
R=$'\033[0m' # Reset
B=$'\033[1m' # Bold
D=$'\033[2m' # Dim
RD=$'\033[31m' # Red
G=$'\033[32m' # Green
Y=$'\033[33m' # Yellow
BL=$'\033[34m' # Blue
M=$'\033[35m' # Magenta
C=$'\033[36m' # Cyan
Default Output
:~/n/x/g/aish|main● +1 ↑2 ➜
Example Interactions
| User Request | Action |
|---|---|
| "修改 prompt" | Init from template if needed → Read → Modify |
| "把路径改成红色" | Read → Change BL to RD in path section |
| "添加时间显示" | Read → Add $(date +%H:%M) at start |
| "重写 prompt" | Generate fresh from scratch |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 101 lines · 49 tokens per session scan A c08f78af83ac
prompt-designer is a skill published in the GitHub repository AI-Shell-Team/aish (532 stars, last pushed today), licensed Apache-2.0. It adds 49 tokens to every session and 815 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
completion-script-generator
Generates shell completion scripts for CLI tools. Parses command structure from help output, commander/yargs configs, or manual specification. Produces completions for bash, zsh, and fish that follow each shell's conventions.
taskgo
Maintains a private Git-backed personal project and task control repository using concise current Markdown, derived Git history, ADRs, and status synchronization. Use when tracking tasks, updating project status (STATUS.md), managing ADRs, synchronizing tracker state, delegating tasks to external agents, or generating…
herdr
Use when the user mentions herdr or is working inside a herdr pane and wants to save/restore a pane layout, change herdr's theme, prefix or other preferences on this host only, start or check on an agent in another herdr pane, or asks why the herdr sidebar colors are unreadable. Requires HERDRENV=1.
conventional-commit
Workflow for generating conventional commit messages following the Conventional Commits specification. MUST be invoked every time a commit is created. Guides construction of standardized commit messages with correct type, scope, description, body, and footer.
segment-create
Full scaffolding workflow for creating a new Oh My Posh segment. Invoke when asked to add a new segment: generates the Go source, registers the type, creates documentation, updates the sidebar and JSON schema.
ccal
Chinese Calendar with Lunar-Solar Conversion.