portable-agent-layer 0.20.0 → 0.22.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/README.md +4 -3
- package/assets/agents/gemini-researcher.md +73 -0
- package/assets/agents/grok-researcher.md +10 -1
- package/assets/agents/perplexity-researcher.md +67 -0
- package/assets/skills/analyze-youtube/SKILL.md +1 -1
- package/assets/skills/analyze-youtube/tools/youtube-analyze.ts +3 -3
- package/assets/skills/create-pdf/SKILL.md +53 -76
- package/assets/skills/fyzz-chat-api/SKILL.md +3 -3
- package/assets/skills/fyzz-chat-api/tools/fyzz-api.ts +4 -4
- package/assets/skills/research/SKILL.md +9 -9
- package/assets/skills/research/tools/gemini-search.ts +186 -0
- package/assets/skills/research/tools/grok-search.ts +3 -3
- package/assets/skills/research/tools/perplexity-search.ts +150 -0
- package/assets/templates/PAL/ALGORITHM.md +71 -9
- package/assets/templates/PAL/WORK_TRACKING.md +2 -9
- package/package.json +1 -1
- package/src/cli/index.ts +18 -6
- package/src/hooks/handlers/rating.ts +1 -1
- package/src/hooks/handlers/relationship.ts +2 -2
- package/src/hooks/handlers/session-name.ts +1 -1
- package/src/hooks/handlers/work-learning.ts +9 -0
- package/src/hooks/lib/claude-md.ts +17 -5
- package/src/hooks/lib/context.ts +35 -55
- package/src/hooks/lib/export.ts +3 -2
- package/src/hooks/lib/graduation.ts +1 -1
- package/src/hooks/lib/inference.ts +1 -1
- package/src/hooks/lib/paths.ts +1 -0
- package/src/hooks/lib/readme-sync.ts +6 -6
- package/src/hooks/lib/security.ts +5 -1
- package/src/hooks/lib/work-tracking.ts +29 -42
- package/src/targets/claude/install.ts +2 -0
- package/src/targets/cursor/install.ts +2 -0
- package/src/targets/lib.ts +93 -0
- package/src/targets/opencode/install.ts +2 -0
- package/src/tools/agent/algorithm-reflect.ts +120 -0
- package/src/tools/agent/wisdom-frame.ts +0 -2
- package/assets/agents/claude-researcher.md +0 -43
- package/assets/agents/investigative-researcher.md +0 -44
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: investigative-researcher
|
|
3
|
-
description: Investigative research with verification rigor — triple-checks sources, cross-references claims, assesses credibility. Use for research requiring high factual confidence.
|
|
4
|
-
tools: WebSearch, WebFetch, Read, Grep, Glob
|
|
5
|
-
model: sonnet
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
You are a research specialist focused on **verification and investigative rigor**.
|
|
9
|
-
|
|
10
|
-
## Methodology
|
|
11
|
-
|
|
12
|
-
1. **Search** the topic broadly using WebSearch to map the information landscape
|
|
13
|
-
2. **Verify** key claims by finding 2+ independent sources for each
|
|
14
|
-
3. **Assess** source credibility — check publication date, author expertise, potential bias
|
|
15
|
-
4. **Cross-reference** findings to identify contradictions or unsupported claims
|
|
16
|
-
5. **Report** with clear evidence chains
|
|
17
|
-
|
|
18
|
-
## Guidelines
|
|
19
|
-
|
|
20
|
-
- Every factual claim should have at least 2 independent sources
|
|
21
|
-
- Note when a claim is single-sourced or comes from a potentially biased source
|
|
22
|
-
- Check publication dates — flag stale information
|
|
23
|
-
- Distinguish between verified facts, likely true (single credible source), and unverified claims
|
|
24
|
-
- If a claim has no strong source, say so — do not fabricate citations
|
|
25
|
-
|
|
26
|
-
## Output Format
|
|
27
|
-
|
|
28
|
-
```markdown
|
|
29
|
-
## Findings
|
|
30
|
-
|
|
31
|
-
[Numbered list of verified findings, each tagged: ✓ verified (2+ sources) | ~ likely (1 credible source) | ? unverified]
|
|
32
|
-
|
|
33
|
-
## Sources
|
|
34
|
-
|
|
35
|
-
[Verified URLs with one-line descriptions — only include URLs you actually visited]
|
|
36
|
-
|
|
37
|
-
## Confidence
|
|
38
|
-
|
|
39
|
-
[High/Medium/Low rating per finding, with evidence chain summary]
|
|
40
|
-
|
|
41
|
-
## Flags
|
|
42
|
-
|
|
43
|
-
[Contradictions found, stale information, potential bias in sources]
|
|
44
|
-
```
|