create-academic-research 0.1.2 → 0.1.3

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 CHANGED
@@ -34,10 +34,10 @@ software engineering, databases, theory, robotics, IR, PL, graphics, and
34
34
  adjacent interdisciplinary CS.
35
35
 
36
36
  The generated repository is agent-neutral. By default the wizard records
37
- `agent: auto`, lets the `skills` CLI detect the current local agent, and writes
38
- generic MCP snippets. Use `--agent <name>` only when you want to force a
39
- specific target recognized by the `skills` CLI, such as `claude-code`,
40
- `cursor`, `windsurf`, or another supported local loader.
37
+ `agent: universal`, installs one shared project-local `.agents/skills` copy,
38
+ and writes generic MCP snippets. Use `--agent <name>` only when you want to
39
+ force a specific target recognized by the `skills` CLI, such as `claude-code`,
40
+ `codex`, `cursor`, `windsurf`, or another supported local loader.
41
41
 
42
42
  ## Default Experience
43
43
 
@@ -134,8 +134,10 @@ The create wizard can install that project-local package automatically.
134
134
  Those skills are portable `SKILL.md` instructions, but they require an
135
135
  agent/runtime that can load skills or include the relevant instructions in
136
136
  context. They are not automatic capabilities of every raw model API.
137
- Use `--agent <agent>` for explicit multi-tool setup; reserve `--agent '*'` for
138
- cases where you intentionally want every local agent loader populated.
137
+ Use `--agent <agent>` for explicit setup, for example `--agent codex` or
138
+ `--agent claude-code`.
139
+ Avoid `--agent auto` for unattended setup: the upstream `skills` CLI may expand
140
+ it to every agent it detects on the machine.
139
141
 
140
142
  Preset intent:
141
143
 
@@ -164,8 +166,8 @@ Releases are tag-driven. Update `package.json` and `package-lock.json`, commit
164
166
  the change, create `vX.Y.Z`, and push the tag:
165
167
 
166
168
  ```bash
167
- git tag -a v0.1.2 -m "v0.1.2"
168
- git push origin main v0.1.2
169
+ git tag -a v0.1.3 -m "v0.1.3"
170
+ git push origin main v0.1.3
169
171
  ```
170
172
 
171
173
  Once the GitHub repository is public, the release workflow validates the tag
@@ -1,6 +1,6 @@
1
1
  import { type Runner } from "./runner.js";
2
2
  import { type McpToolCommandKey } from "./stack.js";
3
- export declare const DEFAULT_AGENT = "auto";
3
+ export declare const DEFAULT_AGENT = "universal";
4
4
  export interface CapabilityState {
5
5
  agent: string;
6
6
  preset: string;
@@ -3,7 +3,8 @@ import { join, relative } from "node:path";
3
3
  import YAML from "yaml";
4
4
  import { defaultRunner } from "./runner.js";
5
5
  import { AGENT_STACK, presetMcpServers } from "./stack.js";
6
- export const DEFAULT_AGENT = "auto";
6
+ export const DEFAULT_AGENT = "universal";
7
+ const AUTO_AGENT = "auto";
7
8
  export async function readCapabilities(root) {
8
9
  try {
9
10
  return readCapabilitiesFile(root);
@@ -293,7 +294,7 @@ async function writeCapabilityProfile(root, state) {
293
294
  lines.push(`- \`${name}\` (${status}): ${server?.smoke_test ?? "Smoke-test before use."}`);
294
295
  }
295
296
  }
296
- lines.push("", "## Rules", "", "- Skill installation is project-local by default.", "- Agent target `auto` lets the local skills CLI detect the active agent.", "- MCP enable/disable changes project records; install/uninstall changes external tools.", "- Keep API keys, tokens, cookies, and browser sessions out of git.", "- Cite repository source records, not raw MCP output alone.", "");
297
+ lines.push("", "## Rules", "", "- Skill installation is project-local by default.", "- Agent target `universal` installs one shared project-local `.agents/skills` copy.", "- MCP enable/disable changes project records; install/uninstall changes external tools.", "- Keep API keys, tokens, cookies, and browser sessions out of git.", "- Cite repository source records, not raw MCP output alone.", "");
297
298
  await writeFile(join(root, "docs/agent/capability-profile.md"), lines.join("\n"), "utf8");
298
299
  }
299
300
  async function appendCapabilityLog(root, state) {
@@ -307,7 +308,7 @@ function dedupe(values) {
307
308
  }
308
309
  function renderSkillCommand(command, agent) {
309
310
  const normalized = normalizeAgent(agent);
310
- const agentFlag = normalized === DEFAULT_AGENT ? "" : `--agent '${normalized}'`;
311
+ const agentFlag = normalized === AUTO_AGENT ? "" : `--agent '${normalized}'`;
311
312
  return command.replaceAll("{agent_flag}", agentFlag).replaceAll("{agent}", normalized);
312
313
  }
313
314
  async function readCapabilitiesFile(root) {
@@ -402,7 +403,7 @@ function normalizeAgent(agent) {
402
403
  }
403
404
  function mcpSnippetFileName(agent) {
404
405
  const normalized = normalizeAgent(agent);
405
- return normalized === DEFAULT_AGENT ? "mcp.json" : `${normalized}-mcp.json`;
406
+ return normalized === DEFAULT_AGENT || normalized === AUTO_AGENT ? "mcp.json" : `${normalized}-mcp.json`;
406
407
  }
407
408
  async function removeInactiveMcpSnippets(outputDir, activeFile) {
408
409
  const entries = await readdir(outputDir);
package/dist/src/cli.js CHANGED
@@ -401,7 +401,7 @@ function printCreateHelp() {
401
401
  " --package <name> Python package name. Default: normalized project name.",
402
402
  " --preset <name> Capability preset: minimal, default, enhanced, literature, writing, full.",
403
403
  " --profile <name> Project profile metadata. Default: academic-general.",
404
- " --agent <name> Agent target. Default: auto-detect.",
404
+ " --agent <name> Agent target. Default: universal.",
405
405
  " --install-skills Install project-local skills without prompting.",
406
406
  " --no-install-skills Skip project-local skill installation.",
407
407
  " --install-mcp-tools Run finite external MCP install commands after creation.",
@@ -205,7 +205,7 @@ async function writeGeneratedPackageJson(root, { slug }) {
205
205
  const path = join(root, "package.json");
206
206
  const data = await readJson(path);
207
207
  const existingSpec = data.devDependencies?.["create-academic-research"];
208
- const packageSpec = process.env.CREATE_ACADEMIC_RESEARCH_PACKAGE_SPEC ?? existingSpec ?? "^0.1.2";
208
+ const packageSpec = process.env.CREATE_ACADEMIC_RESEARCH_PACKAGE_SPEC ?? existingSpec ?? "^0.1.3";
209
209
  data.name = slug;
210
210
  data.devDependencies = {
211
211
  ...(data.devDependencies ?? {}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-academic-research",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Create and manage agent-ready academic research repositories.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -16,7 +16,8 @@ actual discipline. The companion `academic-research-skills` package gives
16
16
  first-class support to computer science research while keeping the repository
17
17
  structure useful for broader academic work.
18
18
 
19
- The repository is agent-neutral. Capability state uses `agent: auto` unless a
19
+ The repository is agent-neutral. Capability state uses `agent: universal` by
20
+ default, which installs one shared project-local `.agents/skills` copy unless a
20
21
  specific agent target is selected with `--agent`.
21
22
 
22
23
  ## Quickstart
@@ -1,4 +1,4 @@
1
- agent: auto
1
+ agent: universal
2
2
  preset: default
3
3
  scope: project-local
4
4
  mcp_servers: []
@@ -1,6 +1,6 @@
1
1
  # Agent Capability Profile
2
2
 
3
- - Agent target: `auto`
3
+ - Agent target: `universal`
4
4
  - Scope: `project-local`
5
5
 
6
6
  This file is written during project creation.
@@ -12,6 +12,6 @@
12
12
  "mcp:doctor": "academic-research mcp doctor"
13
13
  },
14
14
  "devDependencies": {
15
- "create-academic-research": "^0.1.2"
15
+ "create-academic-research": "^0.1.3"
16
16
  }
17
17
  }