psyclaw 0.28.1 → 0.28.2
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 +5 -5
- package/agents/recommended/catalog.json +1 -1
- package/dist/src/adapters/pi/extension.js +43 -9
- package/dist/src/adapters/pi/extension.js.map +1 -1
- package/dist/src/ars/mode-editor.d.ts +20 -0
- package/dist/src/ars/mode-editor.js +57 -0
- package/dist/src/ars/mode-editor.js.map +1 -0
- package/dist/src/ars/profile.d.ts +4 -1
- package/dist/src/ars/profile.js +23 -6
- package/dist/src/ars/profile.js.map +1 -1
- package/package.json +10 -3
- package/vendor/academic-paper-skills/LICENSE +21 -0
- package/vendor/academic-paper-skills/NOTICE.md +7 -0
- package/vendor/academic-paper-skills/PSYCLAW_SOURCE.json +14 -0
- package/vendor/academic-paper-skills/academic-paper-composer/SKILL.md +840 -0
- package/vendor/academic-paper-skills/academic-paper-composer/references/section_guides.md +675 -0
- package/vendor/academic-paper-skills/academic-paper-composer/references/writing_standards.md +629 -0
- package/vendor/academic-paper-skills/academic-paper-composer/scripts/chapter_quality_check.py +470 -0
- package/vendor/academic-paper-skills/academic-paper-composer/scripts/final_evaluation.py +550 -0
- package/vendor/academic-paper-skills/academic-paper-strategist/SKILL.md +670 -0
- package/vendor/academic-paper-skills/academic-paper-strategist/references/quality_standards.md +336 -0
- package/vendor/academic-paper-skills/academic-paper-strategist/references/search_strategy.md +459 -0
- package/vendor/academic-paper-skills/academic-paper-strategist/scripts/evaluate_samples.py +300 -0
- package/vendor/academic-paper-skills/academic-paper-strategist/scripts/gap_analysis.py +399 -0
- package/vendor/ars/pi/wrapper.js +9 -0
- package/vendor/nature-skills/LICENSE +201 -0
- package/vendor/nature-skills/NOTICE.md +7 -0
- package/vendor/nature-skills/PSYCLAW_SOURCE.json +19 -0
- package/vendor/nature-skills/skills/nature-figure/README.md +107 -0
- package/vendor/nature-skills/skills/nature-figure/README_EN.md +107 -0
- package/vendor/nature-skills/skills/nature-figure/SKILL.md +154 -0
- package/vendor/nature-skills/skills/nature-figure/agents/openai.yaml +4 -0
- package/vendor/nature-skills/skills/nature-figure/evals/evals.json +325 -0
- package/vendor/nature-skills/skills/nature-figure/manifest.yaml +103 -0
- package/vendor/nature-skills/skills/nature-figure/references/ai-graphical-abstract-workflow.md +129 -0
- package/vendor/nature-skills/skills/nature-figure/references/api.md +576 -0
- package/vendor/nature-skills/skills/nature-figure/references/asset-adaptation.md +72 -0
- package/vendor/nature-skills/skills/nature-figure/references/backend-selection.md +118 -0
- package/vendor/nature-skills/skills/nature-figure/references/chart-types.md +348 -0
- package/vendor/nature-skills/skills/nature-figure/references/common-patterns.md +371 -0
- package/vendor/nature-skills/skills/nature-figure/references/demos.md +58 -0
- package/vendor/nature-skills/skills/nature-figure/references/design-theory.md +467 -0
- package/vendor/nature-skills/skills/nature-figure/references/figure-contract.md +122 -0
- package/vendor/nature-skills/skills/nature-figure/references/figure-legend-conventions.md +90 -0
- package/vendor/nature-skills/skills/nature-figure/references/multipanel-evidence-architecture.md +268 -0
- package/vendor/nature-skills/skills/nature-figure/references/nature-2026-observations.md +124 -0
- package/vendor/nature-skills/skills/nature-figure/references/nature-article-requirements.md +149 -0
- package/vendor/nature-skills/skills/nature-figure/references/openrouter-image-generation.md +141 -0
- package/vendor/nature-skills/skills/nature-figure/references/qa-contract.md +344 -0
- package/vendor/nature-skills/skills/nature-figure/references/r-template-index.md +66 -0
- package/vendor/nature-skills/skills/nature-figure/references/r-workflow.md +234 -0
- package/vendor/nature-skills/skills/nature-figure/references/template-catalog.md +33 -0
- package/vendor/nature-skills/skills/nature-figure/references/tutorials.md +260 -0
- package/vendor/nature-skills/skills/nature-figure/requirements.txt +1 -0
- package/vendor/nature-skills/skills/nature-figure/scripts/audit_figure_collisions.py +742 -0
- package/vendor/nature-skills/skills/nature-figure/scripts/audit_panel_alignment.py +933 -0
- package/vendor/nature-skills/skills/nature-figure/scripts/audit_pdf_text.py +152 -0
- package/vendor/nature-skills/skills/nature-figure/scripts/figure_safety.py +50 -0
- package/vendor/nature-skills/skills/nature-figure/scripts/generate_openrouter_schematic.py +260 -0
- package/vendor/nature-skills/skills/nature-figure/scripts/nature_figure_backend.py +93 -0
- package/vendor/nature-skills/skills/nature-figure/scripts/panel_alignment.R +188 -0
- package/vendor/nature-skills/skills/nature-figure/scripts/plot_templates.py +604 -0
- package/vendor/nature-skills/skills/nature-figure/scripts/validate_figure.py +835 -0
- package/vendor/nature-skills/skills/nature-figure/static/core/contract.md +55 -0
- package/vendor/nature-skills/skills/nature-figure/static/core/stance.md +41 -0
- package/vendor/nature-skills/skills/nature-figure/static/fragments/backend/python.md +56 -0
- package/vendor/nature-skills/skills/nature-figure/static/fragments/backend/r.md +63 -0
- package/vendor/nature-skills/skills/nature-figure/tests/test_figure_safety.py +209 -0
- package/vendor/nature-skills/skills/nature-polishing/README.md +58 -0
- package/vendor/nature-skills/skills/nature-polishing/README_EN.md +58 -0
- package/vendor/nature-skills/skills/nature-polishing/SKILL.md +111 -0
- package/vendor/nature-skills/skills/nature-polishing/agents/openai.yaml +4 -0
- package/vendor/nature-skills/skills/nature-polishing/manifest.yaml +101 -0
- package/vendor/nature-skills/skills/nature-polishing/references/latex-layout.md +211 -0
- package/vendor/nature-skills/skills/nature-polishing/references/nat-comms-2025-diction.md +73 -0
- package/vendor/nature-skills/skills/nature-polishing/references/phrasebank-playbook.md +175 -0
- package/vendor/nature-skills/skills/nature-polishing/references/published-article-patterns.md +126 -0
- package/vendor/nature-skills/skills/nature-polishing/references/section-moves.md +252 -0
- package/vendor/nature-skills/skills/nature-polishing/references/style-guardrails.md +94 -0
- package/vendor/nature-skills/skills/nature-polishing/references/writing-strategy.md +160 -0
- package/vendor/nature-skills/skills/nature-polishing/static/core/failure-modes.md +29 -0
- package/vendor/nature-skills/skills/nature-polishing/static/core/output-format.md +21 -0
- package/vendor/nature-skills/skills/nature-polishing/static/core/stance.md +26 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/journal/generic.md +17 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/journal/nat-comms.md +38 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/journal/nat-mach-intell.md +102 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/journal/nature.md +19 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/language/en.md +19 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/language/zh-to-en.md +19 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/paper_type/algorithmic.md +18 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/paper_type/hypothesis.md +17 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/paper_type/methods.md +35 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/paper_type/research.md +29 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/paper_type/review.md +17 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/section/abstract.md +26 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/section/conclusion.md +15 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/section/discussion.md +48 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/section/intro.md +33 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/section/methods.md +26 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/section/results.md +61 -0
- package/vendor/nature-skills/skills/nature-polishing/static/fragments/section/title.md +17 -0
- package/vendor/nature-skills/skills/nature-ref-verifier/README.md +44 -0
- package/vendor/nature-skills/skills/nature-ref-verifier/README_EN.md +44 -0
- package/vendor/nature-skills/skills/nature-ref-verifier/SKILL.md +196 -0
- package/vendor/nature-skills/skills/nature-ref-verifier/agents/openai.yaml +4 -0
- package/vendor/nature-skills/skills/nature-ref-verifier/manifest.yaml +19 -0
- package/vendor/nature-skills/skills/nature-ref-verifier/references/common-patterns.md +96 -0
- package/vendor/nature-skills/skills/nature-shared/README.md +43 -0
- package/vendor/nature-skills/skills/nature-shared/README_EN.md +43 -0
- package/vendor/nature-skills/skills/nature-shared/SKILL.md +33 -0
- package/vendor/nature-skills/skills/nature-shared/agents/openai.yaml +6 -0
- package/vendor/nature-skills/skills/nature-shared/core/consistency-sweep.md +122 -0
- package/vendor/nature-skills/skills/nature-shared/core/discussion-argument-language.md +192 -0
- package/vendor/nature-skills/skills/nature-shared/core/ethics.md +88 -0
- package/vendor/nature-skills/skills/nature-shared/core/main-text-discipline.md +179 -0
- package/vendor/nature-skills/skills/nature-shared/core/nature-abstract.md +171 -0
- package/vendor/nature-skills/skills/nature-shared/core/nature-introduction.md +164 -0
- package/vendor/nature-skills/skills/nature-shared/core/nature-results-discussion.md +215 -0
- package/vendor/nature-skills/skills/nature-shared/core/paper-type-taxonomy.md +41 -0
- package/vendor/nature-skills/skills/nature-shared/core/reader-workflow.md +21 -0
- package/vendor/nature-skills/skills/nature-shared/core/research-compliance.md +192 -0
- package/vendor/nature-skills/skills/nature-shared/core/terminology-ledger.md +58 -0
- package/vendor/nature-skills/skills/nature-shared/journal-formats/nat-comms.md +139 -0
- package/vendor/nature-skills/skills/nature-shared/journal-formats/nature-machine-intelligence.md +431 -0
- package/vendor/nature-skills/skills/nature-shared/journal-formats/nature.md +313 -0
- package/vendor/nature-skills/skills/nature-shared/manifest.yaml +52 -0
- package/vendor/nature-skills/skills/nature-shared/scripts/check_consistency.py +273 -0
- package/vendor/nature-skills/skills/nature-shared/tests/test_check_consistency.py +63 -0
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
export declare const PSYCLAW_ARS_PROFILE_VERSION: "
|
|
1
|
+
export declare const PSYCLAW_ARS_PROFILE_VERSION: "3";
|
|
2
2
|
export declare const ARS_REPOSITORY_URL: "https://github.com/Imbad0202/academic-research-skills";
|
|
3
3
|
export declare const ARS_UPSTREAM_REF: "v3.21.1";
|
|
4
4
|
export declare const ARS_UPSTREAM_COMMIT: "127ff85e4bbfcdd10b95040537b6c6bd7ad17aeb";
|
|
5
5
|
export declare const ARS_ARCHIVE_SHA256: "3b82731b860a021e9c8efbca4cc3a91e472a43b50a21a066e2a44e312c97cdf3";
|
|
6
6
|
export declare const NATURE_SKILLS_PLUGIN_ID: "nature-skills-plugin";
|
|
7
|
+
/** Nature gap-fill leaves are vendored under vendor/nature-skills and listed in package.json pi.skills. */
|
|
8
|
+
export declare const NATURE_ARS_FILLERS_BUNDLED: true;
|
|
9
|
+
export declare const ACADEMIC_COMPOSE_SKILLS: readonly ["academic-paper-strategist", "academic-paper-composer"];
|
|
7
10
|
export type NatureArsFillerId = "figure" | "ref-verifier" | "polishing";
|
|
8
11
|
export interface NatureArsFiller {
|
|
9
12
|
id: NatureArsFillerId;
|
package/dist/src/ars/profile.js
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
export const PSYCLAW_ARS_PROFILE_VERSION = "
|
|
1
|
+
export const PSYCLAW_ARS_PROFILE_VERSION = "3";
|
|
2
2
|
export const ARS_REPOSITORY_URL = "https://github.com/Imbad0202/academic-research-skills";
|
|
3
3
|
export const ARS_UPSTREAM_REF = "v3.21.1";
|
|
4
4
|
export const ARS_UPSTREAM_COMMIT = "127ff85e4bbfcdd10b95040537b6c6bd7ad17aeb";
|
|
5
5
|
export const ARS_ARCHIVE_SHA256 = "3b82731b860a021e9c8efbca4cc3a91e472a43b50a21a066e2a44e312c97cdf3";
|
|
6
6
|
export const NATURE_SKILLS_PLUGIN_ID = "nature-skills-plugin";
|
|
7
|
+
/** Nature gap-fill leaves are vendored under vendor/nature-skills and listed in package.json pi.skills. */
|
|
8
|
+
export const NATURE_ARS_FILLERS_BUNDLED = true;
|
|
9
|
+
export const ACADEMIC_COMPOSE_SKILLS = [
|
|
10
|
+
"academic-paper-strategist",
|
|
11
|
+
"academic-paper-composer",
|
|
12
|
+
];
|
|
7
13
|
const ARS_PI_COMPATIBILITY_MARKER = "## Academic Research Skills compatibility for Pi";
|
|
8
14
|
const ARS_PI_STATE_ENTRY_TYPE = "ars-pi-state";
|
|
9
15
|
/** Only the three Nature leaves that fill ARS gaps. Do not add overlapping reviewer/search skills here. */
|
|
@@ -60,6 +66,9 @@ export function loadedSkillNames(input = {}) {
|
|
|
60
66
|
return names;
|
|
61
67
|
}
|
|
62
68
|
export function detectNatureArsFillers(input = {}) {
|
|
69
|
+
if (NATURE_ARS_FILLERS_BUNDLED) {
|
|
70
|
+
return NATURE_ARS_FILLERS.map((filler) => filler.id);
|
|
71
|
+
}
|
|
63
72
|
const names = loadedSkillNames(input);
|
|
64
73
|
return NATURE_ARS_FILLERS
|
|
65
74
|
.filter((filler) => filler.aliases.some((alias) => names.has(alias)))
|
|
@@ -70,11 +79,19 @@ export function formatNatureArsFillerStatus(present) {
|
|
|
70
79
|
const lines = ["Nature 查漏补缺(不替换 ARS 阶段):"];
|
|
71
80
|
for (const filler of NATURE_ARS_FILLERS) {
|
|
72
81
|
const ready = presentSet.has(filler.id);
|
|
73
|
-
|
|
82
|
+
const state = NATURE_ARS_FILLERS_BUNDLED
|
|
83
|
+
? "已内置"
|
|
84
|
+
: ready
|
|
85
|
+
? "已接入"
|
|
86
|
+
: "未安装";
|
|
87
|
+
lines.push(`- ${filler.skill}:${state}(${filler.stage})`);
|
|
74
88
|
}
|
|
75
|
-
if (present.length < NATURE_ARS_FILLERS.length) {
|
|
89
|
+
if (!NATURE_ARS_FILLERS_BUNDLED && present.length < NATURE_ARS_FILLERS.length) {
|
|
76
90
|
lines.push(`未安装项可运行 /plugin install ${NATURE_SKILLS_PLUGIN_ID};缺席时保持 ARS 原流程,不编造该产物。`);
|
|
77
91
|
}
|
|
92
|
+
if (NATURE_ARS_FILLERS_BUNDLED) {
|
|
93
|
+
lines.push(`学术写作配套:${ACADEMIC_COMPOSE_SKILLS.join("、")} 已内置。`);
|
|
94
|
+
}
|
|
78
95
|
return lines.join("\n");
|
|
79
96
|
}
|
|
80
97
|
function natureGapFillSection(present) {
|
|
@@ -85,15 +102,15 @@ function natureGapFillSection(present) {
|
|
|
85
102
|
];
|
|
86
103
|
const instructions = {
|
|
87
104
|
figure: {
|
|
88
|
-
available: "- AVAILABLE nature-figure (format / manuscript figures): when the manuscript needs publication figures, invoke nature-figure instead of ad-hoc matplotlib. Do not use it to rewrite the paper or invent data.",
|
|
105
|
+
available: "- AVAILABLE nature-figure (format / manuscript figures; bundled): when the manuscript needs publication figures, invoke nature-figure instead of ad-hoc matplotlib. Do not use it to rewrite the paper or invent data.",
|
|
89
106
|
missing: "- MISSING nature-figure: leave figures unfinished or ARS-native; do not invent publication-ready charts. Offer /plugin install nature-skills-plugin only if the user asks to fill this gap.",
|
|
90
107
|
},
|
|
91
108
|
"ref-verifier": {
|
|
92
|
-
available: "- AVAILABLE nature-ref-verifier (integrity / citation-check): after ARS citation-check or integrity, invoke nature-ref-verifier for DOI/author/year/field cross-checks. It does not replace ARS claim-source entailment or locator gates.",
|
|
109
|
+
available: "- AVAILABLE nature-ref-verifier (integrity / citation-check; bundled): after ARS citation-check or integrity, invoke nature-ref-verifier for DOI/author/year/field cross-checks. It does not replace ARS claim-source entailment or locator gates.",
|
|
93
110
|
missing: "- MISSING nature-ref-verifier: keep ARS citation-check as the citation gate; do not claim multi-source field verification that was not run.",
|
|
94
111
|
},
|
|
95
112
|
polishing: {
|
|
96
|
-
available: "- AVAILABLE nature-polishing (finalization / prose polish): after a draft exists, during finalization/format only, invoke nature-polishing for prose. It must not change research claims, citations, numbers, or section structure.",
|
|
113
|
+
available: "- AVAILABLE nature-polishing (finalization / prose polish; bundled): after a draft exists, during finalization/format only, invoke nature-polishing for prose. It must not change research claims, citations, numbers, or section structure.",
|
|
97
114
|
missing: "- MISSING nature-polishing: keep ARS writing/format output; do not claim Nature-style polish that was not run.",
|
|
98
115
|
},
|
|
99
116
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../src/ars/profile.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAY,CAAC;AACxD,MAAM,CAA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CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACxE,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,QAAuB,EAAE;IACvD,MAAM,OAAO,GAAG,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAC9C,OAAO;QACL,2BAA2B,2BAA2B,EAAE;QACxD,8HAA8H;QAC9H,sRAAsR;QACtR,qWAAqW;QACrW,uKAAuK;QACvK,wNAAwN;QACxN,sNAAsN;QACtN,GAAG,oBAAoB,CAAC,OAAO,CAAC;KACjC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "psyclaw",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.2",
|
|
4
4
|
"description": "A standalone, evidence-grounded social-science research agent with research contracts, evidence gates, and recoverable workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
"skills",
|
|
26
26
|
"agents",
|
|
27
27
|
"vendor/ars",
|
|
28
|
+
"vendor/nature-skills",
|
|
29
|
+
"vendor/academic-paper-skills",
|
|
28
30
|
"vendor/windows",
|
|
29
31
|
"scripts/psyclaw.mjs",
|
|
30
32
|
"scripts/rebrand-pi.mjs"
|
|
@@ -52,7 +54,12 @@
|
|
|
52
54
|
"./vendor/ars/deep-research",
|
|
53
55
|
"./vendor/ars/academic-paper",
|
|
54
56
|
"./vendor/ars/academic-paper-reviewer",
|
|
55
|
-
"./vendor/ars/academic-pipeline"
|
|
57
|
+
"./vendor/ars/academic-pipeline",
|
|
58
|
+
"./vendor/nature-skills/skills/nature-figure",
|
|
59
|
+
"./vendor/nature-skills/skills/nature-ref-verifier",
|
|
60
|
+
"./vendor/nature-skills/skills/nature-polishing",
|
|
61
|
+
"./vendor/academic-paper-skills/academic-paper-strategist",
|
|
62
|
+
"./vendor/academic-paper-skills/academic-paper-composer"
|
|
56
63
|
],
|
|
57
64
|
"prompts": [
|
|
58
65
|
"./vendor/ars/commands"
|
|
@@ -62,7 +69,7 @@
|
|
|
62
69
|
"build": "node scripts/rebrand-pi.mjs && tsc -p tsconfig.json && node scripts/copy-panel.mjs",
|
|
63
70
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
64
71
|
"test": "vitest run",
|
|
65
|
-
"test:ars": "vitest run tests/unit/bundled-ars.test.ts tests/unit/ars-profile.test.ts tests/unit/ars-panel-plan.test.ts tests/unit/ars-bridge.test.ts",
|
|
72
|
+
"test:ars": "vitest run tests/unit/bundled-ars.test.ts tests/unit/bundled-nature-compose.test.ts tests/unit/ars-profile.test.ts tests/unit/ars-mode-editor.test.ts tests/unit/ars-panel-plan.test.ts tests/unit/ars-bridge.test.ts",
|
|
66
73
|
"test:watch": "vitest",
|
|
67
74
|
"eval": "tsx evals/harness.ts",
|
|
68
75
|
"eval:modules": "tsx evals/modules.ts",
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Li Shixiong
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Academic Paper Skills (strategist + composer)
|
|
2
|
+
|
|
3
|
+
Source: https://github.com/lishix520/academic-paper-skills
|
|
4
|
+
License: MIT (see `LICENSE`)
|
|
5
|
+
Pinned commit: `c325557646e9418939ccc7b99171b149ad6314f1`
|
|
6
|
+
|
|
7
|
+
Directories are stored under their skill names (`academic-paper-strategist`, `academic-paper-composer`) to match Pi skill discovery.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "psyclaw/bundled-upstream/v1",
|
|
3
|
+
"name": "academic-paper-skills",
|
|
4
|
+
"source": "https://github.com/lishix520/academic-paper-skills",
|
|
5
|
+
"ref": "main",
|
|
6
|
+
"commit": "c325557646e9418939ccc7b99171b149ad6314f1",
|
|
7
|
+
"contentSha256": "2a38f75feb9cc9a245e1759874315cda4bd201e622aeac760f9b1632fb484426",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"includes": [
|
|
10
|
+
"academic-paper-strategist",
|
|
11
|
+
"academic-paper-composer"
|
|
12
|
+
],
|
|
13
|
+
"distribution": "Bundled in the PsyClaw npm package for offline academic compose workflows; no runtime GitHub download is required."
|
|
14
|
+
}
|