/tksfw:tksfw-initfrom TKS Framework
Initialise, update, arm or disarm the TKS method in the CURRENT project folder from the installed tksfw plugin (no repository checkout needed): writes AGENTS.md, CLAUDE.local.md, .agents/workarea/, .agents/config.toml, .agents/agents/, .codex/config.toml and the arming manifest .agents/.tksfw.json. Use when the user asks to apply/initialise/set up the TKS framework or method in a project, to update a project to the installed framework version (SessionStart reports "version skew"), or to disable/enable the framework for this project. Never run it unasked: a folder without .agents/.tksfw.json is deliberately outside the method.
Ships in TKS Framework. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The plugin carries the method template (assets/template/) and the installer (assets/new_project.py).
Everything it writes is plain files inside the project; the plugin directory itself is never written to.
Confirm the target is the project root the user means (the folder that should own AGENTS.md).
If .agents/.tksfw.json already exists there, use --update, --disable or --enable — never a
fresh install.
Run, from the plugin (replace <PLUGIN> with this skill's parent plugin root — in hooks it is
$CLAUDE_PLUGIN_ROOT; from a skill, use the absolute path of this SKILL.md's ../..):
| Goal | Command |
|---|---|
| New project, tooling from the plugin (default) | python3 <PLUGIN>/skills/tksfw-init/assets/new_project.py <project> --plugin-mode |
| New self-contained project (hooks + skills copied in-tree; no plugin dependency) | python3 <PLUGIN>/skills/tksfw-init/assets/new_project.py <project> |
| Update to the installed version (keeps locally edited files, lists them) | … <project> --update |
| Disarm / re-arm the framework here | … <project> --disable / --enable |
Set / show the operator name (per user, once; ~/.config/tksfw/user.toml) | … --set-operator "<name>" / … --show-operator |
Report what was installed / refreshed / kept. Locally edited framework files must be merged by hand —
show the user the list. The project layers (KS_PROJECT.md archetype, KS_SPEC.md project spec, or paths pinned under
layers in .agents/.tksfw.json) are the user's content: --update never touches them and preserves
the layers stanza. On a new project, suggest writing KS_SPEC.md (and KS_PROJECT.md when an archetype
applies); the first session then lists them at start and the ks-start skill ($ks-start in Codex, /tksfw:ks-start in Claude Code) begins execution.
Ask the user to re-trust hooks in Codex /hooks if the project is self-contained (in-project hooks);
plugin-mode projects need nothing (the plugin's hooks are already trusted).
Log the initialisation or update in .agents/workarea/changes.yaml (Layer CORE) via the
yaml-log-entry skill once the project is armed.
--plugin-mode projects contain no hooks/skills of their own; the installed plugin serves them and
yields automatically to projects that carry their own .agents/hooks/."enabled": false) keeps all its files; the hooks and model routing simply
stop acting there until --enable.OwnerSessionUserName. If the SessionStart line shows
"UNKNOWN" or "(from git config — set it)", run … --set-operator "<name>" once on this machine
(writes ~/.config/tksfw/user.toml); TKSFW_USER overrides it..agents/config.toml after the first install ([routing.<provider>] must
match the provider this machine uses; route_model.py --print shows the resolution).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub ibm/tksfw --plugin tksfw9 skills in this plugin
/define-agentCreate, rename or edit a subagent definition (.agents/agents/<name>.toml) for this method: naming convention <family>-<role> with the role vocabulary from .agents/config.toml, required fields, description prefix, sandbox mode by tier, and the rule that models are never hand-written. Load BEFORE creating, renaming or editing ANY .agents/agents/*.toml — the PostToolUse hook validates every agent file on write (assets/validate_agent.py) and blocks non-conforming definitions; a rename must also be logged in changes.yaml.
/delegate-workMechanics for delegating work to subagents once the decision to delegate has been made (AGENTS.md § Subagents holds the decision rules): isolation (git worktree or agent work area), ownership matrix, handoff BEGIN/END logging, cleanup and pruning of finished worktrees/work areas, and how to change models via .agents/config.toml. Load when parallelising subagents, when a subagent needs an isolated place to write, when cleaning up after a phase, or when the Stop hook reports stale work areas.
/ks-reloadReload the instruction layers (AGENTS.md core, the archetype and the project spec) fresh from disk after the operator has edited them. Use when the operator says the instructions, AGENTS.md, KS_PROJECT.md or KS_SPEC.md changed, or invokes ks-reload.