diff --git a/README.md b/README.md index 845f62c..854ece5 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ codex plugin marketplace add course-code-framework/coursecode codex plugin add coursecode@coursecode ``` -Then start your AI tool in an empty folder and describe the course you want. +Then start a new chat in your AI tool in an empty folder and describe the course you want. In Codex, ask it to set up CourseCode Framework first; see the [Codex setup guide](plugin/CODEX.md#install-from-github) for connection checks and updates. The plugin needs [Node.js](https://nodejs.org/) 22.15 or later but no global `coursecode` install. If Node.js is missing, its `setup` skill offers to install it. The plugin bundles the MCP server below and six skills: setup, new-course, outline, build-slides, review, and publish. See [plugin/README.md](plugin/README.md). diff --git a/framework/docs/USER_GUIDE.md b/framework/docs/USER_GUIDE.md index b26d2ff..0426f35 100644 --- a/framework/docs/USER_GUIDE.md +++ b/framework/docs/USER_GUIDE.md @@ -249,20 +249,22 @@ Start Claude Code from your course folder (or an empty folder for a new course). #### Codex -Install the same plugin from this repository: +Install the plugin from GitHub (recommended for Codex). This includes the MCP server and six guided authoring skills: ```bash codex plugin marketplace add course-code-framework/coursecode codex plugin add coursecode@coursecode ``` -Or add only the MCP server with the Codex CLI: +After installing, start a new Codex chat in your course folder and trust it when prompted. Ask it to set up CourseCode Framework and confirm the tools respond. First-time setup needs Node.js 22.15 or later and an internet connection; local authoring, Preview, and Export need no CourseCode Cloud account. See the [Codex setup and update guide](https://github.com/course-code-framework/coursecode/blob/main/plugin/CODEX.md#install-from-github). + +For an MCP-only setup without the six plugin skills, new projects already contain Codex settings. Alternatively, add a standalone global server with the Codex CLI (no global Framework install required): ```bash codex mcp add coursecode -- npx -y coursecode mcp ``` -Start Codex from your course folder (or an empty folder for a new course). +Start Codex from your course folder (or an empty folder for a new course). Use the plugin or the standalone global server; registering both is unnecessary. #### Claude Desktop diff --git a/plugin/.claude-plugin/plugin.json b/plugin/.claude-plugin/plugin.json index 064b272..e9e8f60 100644 --- a/plugin/.claude-plugin/plugin.json +++ b/plugin/.claude-plugin/plugin.json @@ -7,7 +7,11 @@ "name": "Lakeside Labs LLC" }, "homepage": "https://coursecodeframework.com", + "icon": "./.claude-plugin/icon.png", + "documentationUrl": "https://coursecodeframework.com/docs/", + "supportUrl": "https://github.com/course-code-framework/coursecode/issues", "privacyPolicyUrl": "https://coursecodeframework.com/privacy/", + "termsOfServiceUrl": "https://coursecodeframework.com/terms/", "repository": "https://github.com/course-code-framework/coursecode", "license": "MIT", "keywords": [ diff --git a/plugin/CODEX.md b/plugin/CODEX.md index 5424755..0606e14 100644 --- a/plugin/CODEX.md +++ b/plugin/CODEX.md @@ -15,11 +15,30 @@ codex plugin marketplace add course-code-framework/coursecode codex plugin add coursecode@coursecode ``` -The repository's `.agents/plugins/marketplace.json` lists the `plugin/` folder. Start a Codex session in an empty folder or an existing course project and ask it to set up CourseCode, or describe the course you want. +The repository's `.agents/plugins/marketplace.json` lists the `plugin/` folder. This is the recommended Codex installation route while public-directory access is pending; no OpenAI publishing approval is needed to use this GitHub installation. + +After installing, start a **new Codex chat** in an empty course folder (or an existing course project), and trust the folder when prompted. Ask: + +> Set up CourseCode Framework here, create the example course, show me its Preview, and export a SCORM 1.2 ZIP. + +The setup workflow checks Node.js and confirms a real `coursecode_workflow_status` response. A successful install command alone does not prove the MCP tools are connected. If tools are missing, quit and reopen Codex, then start a new chat in the course folder. First-time setup downloads npm dependencies and may download a headless browser. No global Framework installation or CourseCode Cloud account is required. + +To update the GitHub installation: + +```sh +codex plugin marketplace upgrade coursecode +codex plugin add coursecode@coursecode +``` + +Then start a new chat. If migrating from the old `coursecode@coursecode-local` development plugin, install the GitHub plugin first, then remove the old plugin with `codex plugin remove coursecode@coursecode-local`. If you previously added the standalone global `coursecode` MCP server, remove that redundant registration with `codex mcp remove coursecode` after installing the plugin. Keep unrelated MCP servers and project settings. The launcher runs the project's own `coursecode` dependency when there is one, so tools match the course's framework version. Otherwise it runs the CLI version pinned in the launcher through `npx`. Codex starts plugin MCP servers inside the plugin's install folder, so the launcher uses the session's `PWD`, and the MCP server switches to the workspace root Codex reports through MCP roots. `COURSECODE_PROJECT_DIR` overrides both. The MCP server never starts Preview. -Without the plugin, any Codex install can use the MCP server directly: projects created with `coursecode create` include `.codex/config.toml`, and `codex mcp add coursecode -- coursecode mcp` adds it globally. +### MCP-only alternative + +Without the plugin, projects created with `npx coursecode create my-course` include `.codex/config.toml` and authoring instructions. Open the course folder in Codex and trust it. For older projects, run `npx coursecode agent-setup` in that folder. + +For a standalone global MCP connection, use `codex mcp add coursecode -- npx -y coursecode mcp`. This does not require a global Framework installation and does not include the plugin's six skills. Choose the plugin or the standalone global connection; there is no need to register both. ## Directory package @@ -83,6 +102,12 @@ Computer control and screenshots do not capture video. Start a screen recorder b Only after these inputs and tests are complete should the archive be labeled ready for submission. Do not upload a skills-only listing as a temporary shortcut: the current portal does not support adding an MCP server to an existing skills-only listing. +## GitHub installation verification — 2026-11-06 + +Verified the documented GitHub marketplace and plugin install commands on macOS with published Framework 0.4.4. The installed plugin contains all six skills. Using that installed launcher in a disposable empty folder passed published-package bootstrap, course creation with project Codex settings, MCP tool discovery and workflow status, Preview navigation, correct/incorrect quiz evaluation, desktop/mobile screenshots, lint detection and recovery, and a SCORM 1.2 Export containing `imsmanifest.xml` and `index.html`. + +This was a CLI/MCP integration walkthrough, not a new Codex chat executing the authoring prompts. Restart Codex or open a new chat to load the refreshed skills and tools. Windows/Linux and production LMS import were not exercised in this run. Three unused example narration files produced warnings; no build/runtime error was reported. Local evidence is in ignored `artifacts/codex-plugin/github-smoke-2026-11-06/`. + ## Preparation evidence — 2026-10-28 - Passed: nine focused unit tests, repository ESLint, and diff whitespace checks. diff --git a/plugin/README.md b/plugin/README.md index 7db48cc..c93c5d3 100644 --- a/plugin/README.md +++ b/plugin/README.md @@ -22,6 +22,8 @@ codex plugin marketplace add course-code-framework/coursecode codex plugin add coursecode@coursecode ``` +After installing in Codex, start a new chat in your course folder and ask it to set up CourseCode Framework. See the [Codex setup and update guide](CODEX.md#install-from-github) for first-run checks, updates, and migration from an older local installation. + **Other AI tools.** You don't need a plugin. Projects created with `coursecode create` include MCP settings for Claude Code, Codex, Cursor, and VS Code, plus an `AGENTS.md` with the workflow. For any other MCP client, run `coursecode mcp`. See [Connecting AI with MCP](https://github.com/course-code-framework/coursecode/blob/main/framework/docs/USER_GUIDE.md#connecting-ai-with-mcp). ## Requirements