Skip to content

supreme12343/Stai-Project / .claude/skills/ck

Persistent per-project memory for Claude Code. Auto-loads project context on session start, tracks sessions with git activity, and writes to native memory. Commands run deterministic Node.js scripts — behavior is consistent across model versions. Use when a project needs context to survive across Claude Code sessions instead of being re-explained each time.

FileKindSize
SKILL.mdskill md4.8 KB
commands/forget.mjsscript1.3 KB
commands/info.mjsscript650 B
commands/init.mjsscript6.0 KB
commands/list.mjsscript1.1 KB
commands/migrate.mjsscript7.2 KB
commands/resume.mjsscript949 B
commands/save.mjsscript7.4 KB
commands/shared.mjsscript14.9 KB
hooks/session-start.mjsscript8.6 KB

commands/list.mjs

View on GitHub
#!/usr/bin/env node
/**
 * ck — Context Keeper v2
 * list.mjs — portfolio view of all registered projects
 *
 * Usage: node list.mjs
 * stdout: ASCII table of all projects + prompt to resume
 * exit 0: success  exit 1: no projects
 */

import { readProjects, loadContext, today, renderListTable } from './shared.mjs';

const cwd = process.env.PWD || process.cwd();
const projects = readProjects();
const entries = Object.entries(projects);

if (entries.length === 0) {
  console.log('No projects registered. Run /ck:init to get started.');
  process.exit(1);
}

// Build enriched list sorted alphabetically by contextDir
const enriched = entries
  .map(([path, info]) => {
    const context = loadContext(info.contextDir);
    return {
      name: info.name,
      contextDir: info.contextDir,
      path,
      context,
      lastUpdated: info.lastUpdated,
    };
  })
  .sort((a, b) => a.contextDir.localeCompare(b.contextDir));

const table = renderListTable(enriched, cwd, today());
console.log('');
console.log(table);
console.log('');
console.log('Resume which? (number or name)');
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall