# Initialize RecoWork Through An AI Agent

Use this prompt only in a command-capable local agent.

```text
Initialize the RecoWork template [idea-to-project | learning-engineering | web-design-standard] for the [local-agent-project] environment in [zh | en] at [destination].

First check whether Node.js and npm are available. If either is missing or outdated, explain why it is needed and ask for my confirmation before installing the latest stable Node.js. After confirmation, run:

npx --yes recowork@latest add [template] --target local-agent-project --locale [locale] [destination]

This command fetches RecoWork for the current run and does not require a globally installed `rw` command. Do not replace it with `rw` unless RecoWork is already installed globally.

Inspect the generated output. Do not create platform-specific skills or configuration folders. Read AGENTS.md, then run `npx --yes recowork@latest view .` from the initialized project root yourself. It automatically detects the workspace and opens the local read-only site; report its URL instead of asking me to install RecoWork, find the workspace directory, or run a command. Then tell me the first decision or confirmation needed before meaningful work begins.

Only if `npx` cannot run, use https://github.com/recoluan/recowork as the fallback source and explain the limitation before manually composing the selected template and target.
```

For a web or mobile chat, initialize `chat-mobile` with the CLI from another machine or copy the chat target materials from the repository. Do not ask a pure chat environment to install Node.js or create local files.
