@nahisaho/shikigami 1.48.0 → 1.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +31 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -40,7 +40,7 @@ VIOLATION = WORKFLOW FAILURE
|
|
|
40
40
|
|
|
41
41
|
---
|
|
42
42
|
|
|
43
|
-
## Critical Rules (
|
|
43
|
+
## Critical Rules (5 Absolute Prohibitions)
|
|
44
44
|
|
|
45
45
|
**⚠️ IMPORTANT: These rules MUST be followed. Violation breaks the research workflow.**
|
|
46
46
|
|
|
@@ -207,6 +207,36 @@ FORBIDDEN: Continuing without saving user input
|
|
|
207
207
|
CONSEQUENCE: Conversation history will be lost if not saved
|
|
208
208
|
```
|
|
209
209
|
|
|
210
|
+
### Prohibition 5: PDF Reference via Download and Text Conversion
|
|
211
|
+
|
|
212
|
+
```
|
|
213
|
+
WHEN: Referencing a PDF document in Deep Research
|
|
214
|
+
DO:
|
|
215
|
+
1. Create research directory if not exists:
|
|
216
|
+
mkdir -p <project_path>/research
|
|
217
|
+
2. Download PDF using wget:
|
|
218
|
+
wget -O <project_path>/research/<filename>.pdf <pdf_url>
|
|
219
|
+
3. Convert PDF to text using pdftotext:
|
|
220
|
+
pdftotext <project_path>/research/<filename>.pdf <project_path>/research/<filename>.txt
|
|
221
|
+
4. Read and reference the converted text file
|
|
222
|
+
5. Save the extracted content via save_research
|
|
223
|
+
|
|
224
|
+
EXAMPLE:
|
|
225
|
+
1. mkdir -p projects/pj00001_AIResearch/research
|
|
226
|
+
2. wget -O projects/pj00001_AIResearch/research/paper.pdf https://example.com/paper.pdf
|
|
227
|
+
3. pdftotext projects/pj00001_AIResearch/research/paper.pdf projects/pj00001_AIResearch/research/paper.txt
|
|
228
|
+
4. Read paper.txt and extract relevant information
|
|
229
|
+
5. save_research(content: <extracted_content>, source: "pdf", query: "paper.pdf")
|
|
230
|
+
|
|
231
|
+
FORBIDDEN:
|
|
232
|
+
- Attempting to read PDF binary directly
|
|
233
|
+
- Skipping pdftotext conversion step
|
|
234
|
+
- Saving PDF to locations other than research directory
|
|
235
|
+
- Referencing PDF content without save_research
|
|
236
|
+
|
|
237
|
+
CONSEQUENCE: PDF content will be unreadable or lost
|
|
238
|
+
```
|
|
239
|
+
|
|
210
240
|
### Mandatory MCP Call Sequence
|
|
211
241
|
|
|
212
242
|
Every search/visit operation MUST follow this pattern:
|
package/package.json
CHANGED