[{"data":1,"prerenderedAt":190},["ShallowReactive",2],{"en.code.prompt-aliases":3,"en.code.prompt-aliases-surround":185},{"id":4,"title":5,"body":6,"createdAt":171,"description":172,"draft":173,"extension":174,"image":175,"language":176,"meta":177,"navigation":58,"path":178,"private":173,"rawbody":179,"read":55,"seo":180,"stem":181,"topics":182,"updatedAt":171,"__hash__":184},"content\u002Fcode\u002F27.prompt-aliases.md","Aliases in AGENTS.md: Short Commands for an AI Agent",{"type":7,"value":8,"toc":168},"minimark",[9,13,16,28,33,36,119,141,144,152,158,164],[10,11,12],"p",{},"I picked up a simple idea from an AI engineer's YouTube video: add short aliases for recurring instructions to your global prompt. I tried it in my own setup. It turned out to be handy.",[10,14,15],{},"\"Explain it more simply,\" \"shorten your answer,\" \"just explain, don't change anything.\" You can type these requests in full every time. Or give them short names once and use those when talking to the agent.",[10,17,18,19,23,24,27],{},"I keep the definitions in my global ",[20,21,22],"code",{},"AGENTS.md",". Claude Code uses ",[20,25,26],{},"CLAUDE.md"," for these instructions. The agent needs to load the file into its context. A Markdown file sitting on disk won't change its behavior on its own.",[29,30,32],"h2",{"id":31},"my-five-aliases","My Five Aliases",[10,34,35],{},"Here's a block you can add to your instructions. In this version, an alias works both as a standalone message and within a longer request:",[37,38,43],"pre",{"className":39,"code":40,"language":41,"meta":42,"style":42},"language-markdown shiki shiki-themes github-light github-dark","## Aliases\n\nWhen I use an alias as an explicit instruction, expand it and act as if\nits full definition were given to you directly. This applies both to\nstandalone messages and to aliases within a longer request.\nDo not expand aliases in quotes, code, or text that merely discusses them.\n\nscr = `Simplify, compress, and repeat your response`\ne18 = `Explain this like I'm 18. Simplify your language. Shorten your response`\nfoc = `Focus on what matters most here. Whats the true signal? Whats the true value? Boil your response down into the most important thing we need to focus on`\nexp = `Explain only. You may search and inspect, but do not change anything`\nqst = `If anything in my request is unclear, ask clarifying questions before proceeding. Don’t make assumptions`\n","markdown","",[20,44,45,53,60,66,72,78,84,89,95,101,107,113],{"__ignoreMap":42},[46,47,50],"span",{"class":48,"line":49},"line",1,[46,51,52],{},"## Aliases\n",[46,54,56],{"class":48,"line":55},2,[46,57,59],{"emptyLinePlaceholder":58},true,"\n",[46,61,63],{"class":48,"line":62},3,[46,64,65],{},"When I use an alias as an explicit instruction, expand it and act as if\n",[46,67,69],{"class":48,"line":68},4,[46,70,71],{},"its full definition were given to you directly. This applies both to\n",[46,73,75],{"class":48,"line":74},5,[46,76,77],{},"standalone messages and to aliases within a longer request.\n",[46,79,81],{"class":48,"line":80},6,[46,82,83],{},"Do not expand aliases in quotes, code, or text that merely discusses them.\n",[46,85,87],{"class":48,"line":86},7,[46,88,59],{"emptyLinePlaceholder":58},[46,90,92],{"class":48,"line":91},8,[46,93,94],{},"scr = `Simplify, compress, and repeat your response`\n",[46,96,98],{"class":48,"line":97},9,[46,99,100],{},"e18 = `Explain this like I'm 18. Simplify your language. Shorten your response`\n",[46,102,104],{"class":48,"line":103},10,[46,105,106],{},"foc = `Focus on what matters most here. Whats the true signal? Whats the true value? Boil your response down into the most important thing we need to focus on`\n",[46,108,110],{"class":48,"line":109},11,[46,111,112],{},"exp = `Explain only. You may search and inspect, but do not change anything`\n",[46,114,116],{"class":48,"line":115},12,[46,117,118],{},"qst = `If anything in my request is unclear, ask clarifying questions before proceeding. Don’t make assumptions`\n",[10,120,121,124,125,128,129,132,133,136,137,140],{},[20,122,123],{},"scr"," asks the agent to shorten and rephrase its answer. ",[20,126,127],{},"e18"," asks for a simpler explanation, as if it were talking to an eighteen-year-old. ",[20,130,131],{},"foc"," asks it to focus on what matters most. With ",[20,134,135],{},"exp",", it can inspect code and look up information, but it shouldn't change anything. ",[20,138,139],{},"qst"," asks it to clarify anything unclear first instead of making assumptions for me.",[10,142,143],{},"For example, a request might look like this:",[37,145,150],{"className":146,"code":148,"language":149,"meta":42},[147],"language-text","Explain how this code works. e18\n","text",[20,151,148],{"__ignoreMap":42},[10,153,154,155,157],{},"Or, if the agent has already given a complicated answer, I can send just ",[20,156,127],{}," in the next message to ask for the same explanation in simpler, shorter terms.",[10,159,160,161,163],{},"There's a caveat with ",[20,162,135],{},": it's an instruction to the model, not a tool-level restriction on writing. If you need to prevent changes reliably, enforce that through access permissions or a sandbox.",[165,166,167],"style",{},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":42,"searchDepth":55,"depth":55,"links":169},[170],{"id":31,"depth":55,"text":32},"2026-10-11","Five aliases replace repeated requests to an AI agent. They live in global instructions and work across projects.",false,"md","prompt-aliases.jpg","en",{},"\u002Fcode\u002Fprompt-aliases","---\nlanguage: en\ntitle: \"Aliases in AGENTS.md: Short Commands for an AI Agent\"\ndescription: \"Five aliases replace repeated requests to an AI agent. They live in global instructions and work across projects.\"\ncreatedAt: 2026-10-11\nupdatedAt: 2026-10-11\nread: 2\ntopics:\n  - AI\n  - AGENTS.md\nimage: prompt-aliases.jpg\n---\nI picked up a simple idea from an AI engineer's YouTube video: add short aliases for recurring instructions to your global prompt. I tried it in my own setup. It turned out to be handy.\n\n\"Explain it more simply,\" \"shorten your answer,\" \"just explain, don't change anything.\" You can type these requests in full every time. Or give them short names once and use those when talking to the agent.\n\nI keep the definitions in my global `AGENTS.md`. Claude Code uses `CLAUDE.md` for these instructions. The agent needs to load the file into its context. A Markdown file sitting on disk won't change its behavior on its own.\n\n## My Five Aliases\n\nHere's a block you can add to your instructions. In this version, an alias works both as a standalone message and within a longer request:\n\n```markdown\n## Aliases\n\nWhen I use an alias as an explicit instruction, expand it and act as if\nits full definition were given to you directly. This applies both to\nstandalone messages and to aliases within a longer request.\nDo not expand aliases in quotes, code, or text that merely discusses them.\n\nscr = `Simplify, compress, and repeat your response`\ne18 = `Explain this like I'm 18. Simplify your language. Shorten your response`\nfoc = `Focus on what matters most here. Whats the true signal? Whats the true value? Boil your response down into the most important thing we need to focus on`\nexp = `Explain only. You may search and inspect, but do not change anything`\nqst = `If anything in my request is unclear, ask clarifying questions before proceeding. Don’t make assumptions`\n```\n\n`scr` asks the agent to shorten and rephrase its answer. `e18` asks for a simpler explanation, as if it were talking to an eighteen-year-old. `foc` asks it to focus on what matters most. With `exp`, it can inspect code and look up information, but it shouldn't change anything. `qst` asks it to clarify anything unclear first instead of making assumptions for me.\n\nFor example, a request might look like this:\n\n```text\nExplain how this code works. e18\n```\n\nOr, if the agent has already given a complicated answer, I can send just `e18` in the next message to ask for the same explanation in simpler, shorter terms.\n\nThere's a caveat with `exp`: it's an instruction to the model, not a tool-level restriction on writing. If you need to prevent changes reliably, enforce that through access permissions or a sandbox.\n",{"title":5,"description":172},"code\u002F27.prompt-aliases",[183,22],"AI","pKsYYHv2IJaUMeMjLnpJL_YGkN3WZnqh4nkqTWA6Lbs",[186],{"title":187,"path":188,"stem":189,"draft":173,"children":-1},"Hermes and Telegram: Notes, Tasks, and Automation from My Phone","\u002Fcode\u002Fhermes-telegram-quick-capture","code\u002F25.hermes-telegram-quick-capture",1792403045691]