|
| 1 | +--- |
| 2 | +name: research step |
| 3 | +description: Do one step of autonomous research, based on the current research state in the current working directory. Use when asked to "run AstaBot" "do an AstaBot step", "AstaBot, or "do a research step". |
| 4 | +allowed-tools: Bash, Read, Write |
| 5 | +--- |
| 6 | + |
| 7 | +# Research Loop |
| 8 | + |
| 9 | +## Initialization |
| 10 | + |
| 11 | +Look at the mission.md file in the current directory. This is the current research mission to perform reserach on. |
| 12 | + |
| 13 | +If there is NOT a mission.md file, exit this skill with a message saying: |
| 14 | +* "Please add a mission.md file to the current directory describing your research task/mission. See examples at https://tinyurl.com/example-missions" |
| 15 | + |
| 16 | +Otherwise, continue. |
| 17 | + |
| 18 | +## Setup |
| 19 | + |
| 20 | +Look to see if there is a research_state.md file in the current directory. |
| 21 | + |
| 22 | +If there is one, go to the next step. |
| 23 | + |
| 24 | +If there is NOT one, then create it as follows: This file, research_state.md, is to be a LIVING RESEARCH document for keeping track of research progress for the research mission (mission.md), that you can use in collaboration with other researchers working with you. The idea is that both you and the other researchers can contribute to the document, use it for inspiration as next steps, and each update information in the documents as the research continues. |
| 25 | + |
| 26 | +Now create a research_state.md file and write into it your own initial hypotheses and observations about the mission, to help get started. It is fine to leave sections blank until future research fills in the details. Where appropriate, include your rough confidence estimates (as a percentage) in the document. The document should help new researchers join the effort, and quickly learn about what we know and what we don't, and where in the research process the team is, and what tasks should be done next, so that they can easily see where to contribute. |
| 27 | + |
| 28 | +To help plan your research, you will later have tools you can use including: |
| 29 | + - literature search |
| 30 | + - end-to-end autonomous experimentation |
| 31 | + - asking questions to a LLM |
| 32 | + - other tasks |
| 33 | + |
| 34 | +Now, here is a suggested structure for the LIVING RESEARCH document research_state.md. |
| 35 | + |
| 36 | +1. Research Question & Scope |
| 37 | +2. Operational Definitions |
| 38 | +3. Related Work |
| 39 | +4. Hypotheses (H1, H2, H3, ...) |
| 40 | +5. Experimental Designs |
| 41 | +6. Results Summary |
| 42 | +7. Open Questions & Confusions |
| 43 | + |
| 44 | +## Research |
| 45 | + |
| 46 | +Finally, run a single iteration of the following research loop: |
| 47 | + |
| 48 | +1. Read the research_state.md file to understand the current research mission and current state |
| 49 | +2. Analyze what has been done and decide the next concrete TASK to perform |
| 50 | +3. Summarize relevant background knowledge / context that is needed to understand TASK and perform it correctly. Create a file background_knowledge.txt and write that summary into it. If background_knowledge.txt already exists, overwrite it. |
| 51 | +4. Select and invoke the most appropriate skill for that subtask. For example, to run an experiment, use the run-experiment skill (which invokes the Panda research tool). |
| 52 | + |
| 53 | +When that task has been completed: |
| 54 | + |
| 55 | +5. Make a backup copy of research_state.md to the "history/" folder: |
| 56 | + a. Look in the "history/" directory for backup copies of research_state.md, e.g., "reearch-bk1.md", "research-bk2.md". If the directory doesn't exist create it. |
| 57 | + b. Place a backup copy of research_state.md in the "history/" directory, called "research_state_bk<N>.md" where N is the next unused number (1 if this is the first backup). |
| 58 | +6. UPDATE the main research_state.md with the results, so that the current state of research is up to date, including a correct summary of what has been done, what is still to do, and what has been learned. research_state.md should be ready then for the next iteration of the research. |
| 59 | + |
| 60 | +## End |
| 61 | + |
| 62 | +Exit with the message "Iteration complete" |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
0 commit comments