agentsclimarketplace

Startup project

Skill zhqi3/startup-project-public/skill/startup-project

Use when Codex begins or resumes substantive work on a concrete project, a request names a local project or project path, or the user asks to continue from local AI memory.From its SKILL.md

Install
npx -y skills add zhqi3/startup-project-public --skill startup-project

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 27 days oldThe repository was created 27 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

5.8 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it

Startup Project Memory

Load memory once at the beginning of a project-scoped task. Do nothing for ordinary conversation without a concrete project.

1. Resolve The Memory Root

The stable pointer is %USERPROFILE%\.codex\config\ai-memory-root.json. Never infer the root by scanning drives or parent folders, and never create or repair the pointer during startup.

Invoke the root resolver with a process argument array:

$configPath = Join-Path $env:USERPROFILE '.codex\config\ai-memory-root.json'
$rootArguments = @(
  '-NoProfile', '-ExecutionPolicy', 'Bypass', '-File',
  '<skill-dir>\scripts\resolve_memory_root.ps1',
  '-ConfigPath', $configPath
)
$rootResult = (& powershell.exe @rootArguments | Out-String) | ConvertFrom-Json

Accept only status: loaded. Otherwise report the exact config_path and message, then stop substantive project work. Set $memoryRoot to the returned memory_root; use that value for every later path. Do not retain a fallback root in instructions or code.

2. Load Global Rules And Memory

Read these files completely and in order:

  1. <AI_MEMORY_ROOT>\AI_MEMORY_CONTRACT.md
  2. <AI_MEMORY_ROOT>\GLOBAL_BEHAVIOR_INSTRUCTION.md
  3. <AI_MEMORY_ROOT>\global\preferences.md
  4. <AI_MEMORY_ROOT>\global\failure-patterns.md

Then enumerate every additional *.md file below <AI_MEMORY_ROOT>\global, recursively. Normalize and deduplicate paths, sort them in stable path order, and read each completely. Do not reread preferences.md or failure-patterns.md. Ignore non-Markdown files unless the contract requires them.

Before every read, verify that the target is a non-reparse regular file physically contained under $memoryRoot for the two required root files or under $memoryRoot\global for global Markdown. If any required, additional, historical, unreadable, reparse, or out-of-root file fails validation, report its exact path and stop. Do not continue with partial global rules.

3. Resolve The Canonical Project Name

Use this priority:

  1. Explicit project name supplied by the user.
  2. Project name or path clearly named in the current request.
  3. Current repository or workspace basename.
  4. Ask when evidence conflicts, is generic, or would map to a generic workspace despite a different named project.

Prefer an exact existing directory name under $memoryRoot\projects. Never treat _template as a project and never create a guessed project folder.

4. Resolve Without Writing

Invoke the project resolver with a process argument array. Pass each argument separately. Omit -WorkspacePath when empty. Otherwise pass only a fully qualified local filesystem path and never pass a URI, UNC/device path, credential, token, key, or other secret.

$arguments = @(
  '-NoProfile', '-ExecutionPolicy', 'Bypass', '-File',
  '<skill-dir>\scripts\resolve_project_memory.ps1',
  '-ProjectName', $canonicalName,
  '-MemoryRoot', $memoryRoot,
  '-Mode', 'Resolve'
)
if (-not [string]::IsNullOrEmpty($workspacePath)) {
  $arguments += @('-WorkspacePath', $workspacePath)
}
& powershell.exe @arguments

Parse the single compressed JSON result:

  • loaded: continue using the reported layout version without writing.
  • missing: report the canonical name and proposed path, then ask for explicit initialization approval.
  • incomplete: report every missing file and ask before repair.
  • error: report the exact message and stop project work.

After explicit approval for a missing project, invoke the same argument array with -Mode Initialize. Accept only created; otherwise report the returned status and stop. Initialization creates a verified v2 project from _template.

5. Load V2 Project Memory Progressively

For layout_version: 2, read these startup files completely and in order:

  1. project-manifest.json
  2. memory-index.md
  3. handoff.md
  4. working-agreement.md

Parse the manifest as JSON. Verify schema_version is 2.0, canonical_name matches, index_file is memory-index.md, and each workspace path is a fully qualified local path.

Enumerate all remaining project files in stable normalized path order, but select detail using the index and current task:

  • project-brief.md for stable purpose, scope, or locations;
  • decisions.md when an existing choice may govern the task;
  • findings.md for prior evidence or analysis;
  • session-log.md only when chronology matters;
  • ai-self-evaluation.md only for operational performance or recurring collaboration issues;
  • indexed topic files when relevant;
  • immutable historical files last, only when needed, and never modify them.

Current decisions and handoff override historical snapshots when they conflict. For every read, require a non-reparse regular file physically contained below the resolved project root. If a startup file is missing, unreadable, reparse, malformed, or out of root, report its exact path and stop.

6. Load Legacy V1 Memory

For layout_version: 1, read completely: project-brief.md, decisions.md, findings.md, handoff.md, working-agreement.md, session-log.md, and ai-self-evaluation.md. Then read remaining Markdown in stable path order, with immutable history last. Apply the same validation. Report the legacy layout and never migrate it automatically.

7. Report Startup State

Report one concise line with status, canonical name, project-memory path, layout version, startup files loaded, deferred-detail count, and any incomplete, legacy, malformed, or stale-index warning. For v2, complete startup means the four startup files were read and remaining project files inventoried; it does not mean every detail file was read. Reading memory never authorizes a memory write.

What ships with it: 8 files

59.6 KB alongside SKILL.md, 7 of them executable

agents/

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.