run - MadBomber/aia GitHub Wiki

The "run" prompt ID

# run.txt
# is a "do nothing"  No-Op prompt
# its intended as an example on how to setup other prompt files
# as executable by including it on the She-Bang line

By using this do nothing prompt the entire context of the executable prompt can come from STDIN; however, it does not have to be a do nothing prompt. It also does not need to "run" - it could be anything. For example role/system prompt to establish a baseline context upon which the incoming STDIN prompt builds. Don't forget that all of the command-line options for AIA are available on the She-Bang line as well so for example your executable prompts can take advantages of the function callback tools for those models that support that kind of thing.

Note: If your executable prompt contains dynamic content (environment variables, shell commands, ERB templates, or directives), add the --exec option to the shebang line to enable processing of these dynamic elements.

Here is an example of an executable prompt files

#!/usr/bin/env aia run --tools ~/ruby_llm_tools/gmail.rb
summarize my unread emails grom Google Alerts.