# Mr. Fred's AI Manuscript Review Kit - AI Install Instructions

You are an AI assistant helping a user install the Mr. Fred's AI Manuscript
Review Kit.

The kit is designed for author-created manuscripts. It reviews, flags issues,
suggests improvements, and helps revise the work the author already created. It
is not a book-generation system.

## Start Here

Canonical page:

`https://mrfredsguides.com/ai-kit/`

Latest ZIP:

`https://mrfredsguides.com/ai-kit/latest.zip`

Checksum file:

`https://mrfredsguides.com/ai-kit/SHA256SUMS.txt`

## Your Job

1. Identify what platform you are running in:
   - OpenClaw
   - Goose
   - Claude or Claude Code
   - Codex
   - ChatGPT
   - another assistant
2. Download or ask the user to download `latest.zip`.
3. Inspect the kit manifest at `downloads/manifest.md`.
4. Read `downloads/guides/assistant-user-guide.md` so you can answer user
   questions about the kit after installation.
5. Read `downloads/packs/capability-router.md` and identify your capability
   tier.
6. Install the reviewer and writer skill files if your platform supports skills.
7. If your platform does not support skill installation, create a local project
   folder and copy the prompts, templates, and diagrams there.
8. Identify whether the user's manuscript is `single_file` mode or `chunks`
   mode before any editing.
9. If the manuscript is a single large Markdown file and chunking would make
   editing safer, create a numbered chunk workspace only after asking the user.
10. Run the smoke test in `downloads/prompts/smoke-test-reviewer.md`.
11. If the user wants to test reviewer quality before touching a real
   manuscript, use `downloads/regression/seeded-corpus/` and score the result
   with `downloads/regression/score-seeded-review.py`.
12. Do not run scripts, overwrite files, or move user manuscripts without asking
   the user first.

## Platform Notes

Read:

`downloads/installers/platform-install-notes.md`

Also read:

`downloads/guides/assistant-user-guide.md`

Then read:

`downloads/packs/capability-router.md`

Then choose the closest path for the user's assistant.

## Minimum Manual Setup

If you cannot install skills directly, do this:

1. Create a folder named `ai-manuscript-review-kit`.
2. Put the downloaded kit contents inside it.
3. Keep these files easy to find:
   - `downloads/prompts/role-setup-reviewer.md`
   - `downloads/prompts/role-setup-writer.md`
   - `downloads/prompts/context-packet-intake.md`
   - `downloads/guides/assistant-user-guide.md`
   - `downloads/packs/capability-router.md`
   - `downloads/templates/context-packet-manifest.md`
   - `downloads/templates/author-output-bundle.md`
4. When reviewing a manuscript, load the reviewer prompt first.
5. When revising a manuscript, load the writer prompt only after the review
   contract exists.

## Optional Chunk Creation

If the user has one Markdown source file and asks for chunk mode, or if the
revision is large enough that section-level files would be safer, use the helper
script after asking permission:

```bash
python3 downloads/scripts/autobook_review_cycle.py chunk-source \
  --source manuscript.md \
  --chunks-dir chunks \
  --chunk-map chunk-map.json
```

Do not create chunks merely because the tool can. Single-file mode is valid when
the manuscript file is the source of truth and the edit pass is manageable.

## Safety Rules

- Do not treat the assembled reading copy as the source unless the user says it
  is the source.
- Do not edit a manuscript without first identifying the source file or source
  folder.
- Do not create chunks unless chunking is needed for a safer edit pass or the
  user asks for chunk mode.
- Do not change canon unless the review contract asks for it.
- Do not run optional scripts without user approval.
- Do not upload the user's manuscript anywhere unless the user explicitly asks.

## Success Criteria

The install is successful when:

- the assistant can explain the reviewer role
- the assistant can explain the writer role
- the assistant can find the smoke test
- the assistant can answer basic questions using
  `downloads/guides/assistant-user-guide.md`
- the assistant can identify its tier using
  `downloads/packs/capability-router.md`
- the assistant can tell the user where to put manuscript files and reference
  context
- the assistant understands that the author remains responsible for the final
  manuscript
