prompts_dir - MadBomber/aia GitHub Wiki
Prompts Directory
The prompts directory as defined by the --prompts_dir
option, the prompts_dir
config file item, or the AIA_PROMPTS_DIR
envar is a directory in which prompt text files are maintained. This directory can be structured with sub-directory as a way to help organize your various prompts. In fact the roles_prefix
is just a sub-directory inside the prompts directory where you can store the various role descriptions you care to use with your prompts.
The prompts directory should be a git repository. My prompts repository is private. Prompts are like trade secrets. They empower your operations in a way that can give you a competitive advantage so long as they remain secret. Of course that is not true of all prompts. You may chose to share some of yours. I've shared some of mine. Even so having your prompts directory under configuration manager is a very good idea.
The prompt ID of a prompt text file in a sub-directory is exactly what you would expect. sub-dir/file-basename
For example I have a sub-directory named gaming
where I store prompts related to gaming. If I want to play a brand new adventure game made up by an LLM I would do this:
aia gaming/adventure
If I wanted to see some new investment ideas I would do this:
aia finance/ecnomics --next finance/investment -o ~/investments/`yyyymmdd`_ideas.md
TFD - Tip From Dewayne
This is a really useful alias I use all the time:
alias yyyymmdd='date "+%Y%m%d"'
Here is a short example of my prompts directory. What each prompt does and/or how it does what it does is left to your imagination.
.prompts
├── academic
│ ├── integrity.txt
│ └── writing.txt
├── ad_hoc.txt
├── any2any.txt
├── art
│ ├── creativity.txt
│ ├── entertainment.txt
│ └── literature.txt
├── article_expert.txt
├── bash_expert.txt
├── career_development.txt
├── change_carear.txt
├── cover_letter.txt
├── create_image.txt
├── creativity
│ └── names.txt
├── critical_thinking.txt
├── cursor_rules.txt
├── cybersecurity.txt
├── diy
│ └── home_improvement.txt
├── documentation.txt
├── finance
│ ├── economics.txt
│ └── investment.txt
├── gaming
│ └── adventure.txt
├── generic_planner.txt
├── git_commit_msg.txt
├── github_actions_doc.txt
├── grant_requirements.txt
├── grape_to_controller.txt
├── growth_hacker.txt
├── help_me.txt
├── heredoc.txt
├── history.txt
├── house_hunting.txt
├── how.txt
├── idea_generator.txt
├── images
│ └── bathtub.txt
├── irb
│ └── help.txt
├── joke.txt
├── language
│ └── writing.txt
├── law
│ └── legal_services.txt
├── leadership.txt
├── library_traslation.txt
├── life_balance.txt
├── lineup.txt
├── make_money_on_content.txt
├── marketing
│ └── management.txt
├── mathematics
│ └── research.txt
├── me.txt
├── media
│ ├── commentary.txt
│ ├── entertainment.txt
│ └── journalism.txt
├── minitest.txt
├── movie_table.txt
├── negative_connotation.txt
├── personnal_branding.txt
├── productivity.txt
├── prompt_to_keywords.txt
├── proposition_chunking.txt
├── proposition_qa.txt
├── rag.txt
├── refactor_github_actions.txt
├── reformat.txt
├── reformat_search_answers.txt
├── rerank.txt
├── research
│ └── academia.txt
├── review_code.txt
├── rewrite_code.txt
├── roles
│ ├── assistant.txt
│ ├── bible_scholar.txt
│ ├── code.txt
│ ├── default.txt
│ ├── describe_shell.txt
│ ├── dev.txt
│ ├── doctor.txt
│ ├── doctor_house.txt
│ ├── js.txt
│ ├── me.txt
│ ├── medical_specialist.txt
│ ├── pathologist.txt
│ ├── rails.txt
│ ├── shell.txt
│ ├── tech_article_editor.txt
│ └── tutor
│ └── essay.txt
├── run.txt
├── semantic_chuncking.txt
├── seo.txt
├── social_media.txt
├── social_media_brief.txt
├── software_development
│ ├── create_commit_message.txt
│ ├── golang.txt
│ └── qa.txt
├── stock_market_sector_analysis.txt
├── stock_sentiment.txt
├── sum_session.txt
├── summarize.txt
├── summarize_program.txt
├── title_writer.txt
├── todo.txt
├── transcribe.txt
├── transcript_reformat.txt
├── transcript_technical_summary.txt
├── travel
│ └── tourism.txt
├── trend_analyst.txt
├── use_resume.txt
├── what_beats_what.txt
├── writing
│ ├── creativity
│ │ ├── title_generator.txt
│ ├── literature.txt
│ └── technology.txt
└── xyzzy.txt