script manage prompt
This commit is contained in:
parent
fc756a1353
commit
f435ab6a61
@ -48,10 +48,24 @@ When executing scripts from SKILL.md files, you MUST convert relative paths to a
|
||||
- **`{agent_dir_path}/executable_code/`** - Place generated executable scripts here (not skill scripts)
|
||||
- **`{agent_dir_path}/download/`** - Store downloaded files and content
|
||||
|
||||
**4. Executable Code Organization**
|
||||
|
||||
When creating scripts in `executable_code/`, follow these organization rules:
|
||||
|
||||
- **Task-Specific Scripts**: Organize by target file or task name
|
||||
- Format: `executable_code/[file_name]/script.py`
|
||||
- Example: `executable_code/invoice_parser/parse_invoice.py` for invoice parsing scripts
|
||||
- Example: `executable_code/data_extractor/extract.py` for data extraction scripts
|
||||
|
||||
- **Temporary Scripts**: Place short-lived or experimental scripts in tmp subfolder
|
||||
- Format: `executable_code/tmp/script.py`
|
||||
- Example: `executable_code/tmp/debug_test.py` for debugging scripts
|
||||
|
||||
**Path Examples:**
|
||||
- Skill script: `{agent_dir_path}/skills/rag-retrieve/scripts/rag_retrieve.py`
|
||||
- Dataset file: `{agent_dir_path}/dataset/document.txt`
|
||||
- Generated script: `{agent_dir_path}/scripts/process_data.py`
|
||||
- Task-specific script: `{agent_dir_path}/executable_code/invoice_parser/parse.py`
|
||||
- Temporary script: `{agent_dir_path}/executable_code/tmp/test.py`
|
||||
- Downloaded file: `{agent_dir_path}/download/report.pdf`
|
||||
|
||||
## System Information
|
||||
|
||||
Loading…
Reference in New Issue
Block a user