# How to Customize the Fidelity Level or Add Custom Instructions to the clone-website Command

> Customize clone-website fidelity or add instructions by appending text after the URL. Override defaults and inject custom commands easily for AI website cloning.

- Repository: [JCodesMore/ai-website-cloner-template](https://github.com/JCodesMore/ai-website-cloner-template)
- Tags: how-to-guide
- Published: 2026-07-01

---

**Append any text after the target URL in the `clone-website` command to override the default pixel-perfect fidelity and inject custom instructions.**

The `clone-website` command in the JCodesMore/ai-website-cloner-template repository automates website extraction and rebuilds targets as Next.js applications. You can customize the fidelity level or add custom instructions to the clone-website command by leveraging the flexible argument parsing that treats all trailing text as user directives, overriding the built-in defaults defined in the command configuration files.

## Default Fidelity Configuration

The default behavior is hardcoded as **pixel-perfect** fidelity across three configuration files. In [`./.opencode/commands/clone-website.md`](https://github.com/JCodesMore/ai-website-cloner-template/blob/main/./.opencode/commands/clone-website.md) at line 20, the default declaration reads: "Pixel-perfect — exact match in colors, spacing, typography, animations". This same default appears in [`./.github/skills/clone-website/SKILL.md`](https://github.com/JCodesMore/ai-website-cloner-template/blob/main/./.github/skills/clone-website/SKILL.md) for Claude-based agents and [`./.gemini/commands/clone-website.toml`](https://github.com/JCodesMore/ai-website-cloner-template/blob/main/./.gemini/commands/clone-website.toml) for Gemini compatibility.

These files establish the baseline instruction hierarchy:

1. **Custom user instructions** (highest priority)
2. **Built-in defaults** (pixel-perfect fidelity)

## How Custom Instructions Override Defaults

The command accepts a variable-length argument string where any text following the URL(s) is forwarded directly to the agent as **custom user instructions**. According to the "Scope Defaults" section in [`./.opencode/commands/clone-website.md`](https://github.com/JCodesMore/ai-website-cloner-template/blob/main/./.opencode/commands/clone-website.md) (line 25), this trailing text takes precedence over the built-in pixel-perfect default.

The parsing logic requires no special flags or syntax delimiters. The agent merges your instructions with the defaults, applying your specifications wherever they conflict with the baseline configuration. For example, stating "low-fidelity" explicitly replaces the default "pixel-perfect" directive, while additional clauses like "skip animations" further refine the output.

## Practical Examples for Customizing Clone Behavior

You can adjust fidelity and behavior using natural language or conventional flag-style syntax. The agent interprets the entire instruction set appended after the URL.

Clone with reduced fidelity for faster processing:

```bash
clone-website https://example.com fidelity level: low-fidelity

```

Preserve layout precision but disable animations:

```bash
clone-website https://example.com --skip-animations true

```

Combine multiple directives for granular control:

```bash
clone-website https://example.com \
  fidelity level: medium-fidelity \
  custom color palette: dark \
  export format: html

```

In each case, the strings following the URL override the default line 20 configuration in the command definition files.

## Modifying Default Behavior Permanently

To change the default for all future executions without appending arguments, edit the source configuration directly. Modify line 20 in [`./.opencode/commands/clone-website.md`](https://github.com/JCodesMore/ai-website-cloner-template/blob/main/./.opencode/commands/clone-website.md) to reflect your preferred baseline, such as:

```markdown
- **Fidelity level:** High-fidelity – prioritize speed over exact CSS values

```

Update the corresponding entries in [`./.github/skills/clone-website/SKILL.md`](https://github.com/JCodesMore/ai-website-cloner-template/blob/main/./.github/skills/clone-website/SKILL.md) and [`./.gemini/commands/clone-website.toml`](https://github.com/JCodesMore/ai-website-cloner-template/blob/main/./.gemini/commands/clone-website.toml) to maintain consistency across agent types.

## Summary

- The `clone-website` command defaults to **pixel-perfect** fidelity as defined in [`./.opencode/commands/clone-website.md`](https://github.com/JCodesMore/ai-website-cloner-template/blob/main/./.opencode/commands/clone-website.md).
- Any text appended after the target URL is treated as **custom instructions** that override defaults.
- You can specify **fidelity levels** (low, medium, high) or arbitrary directives (skip animations, custom palettes) using natural language.
- For permanent changes, edit line 20 in the command definition files rather than passing runtime arguments.

## Frequently Asked Questions

### What is the default fidelity level for the clone-website command?

The default fidelity level is **pixel-perfect**, which demands exact matches in colors, spacing, typography, and animations. This is explicitly declared on line 20 of [`./.opencode/commands/clone-website.md`](https://github.com/JCodesMore/ai-website-cloner-template/blob/main/./.opencode/commands/clone-website.md) and mirrored in the corresponding TOML and SKILL definitions.

### How do I permanently change the default fidelity setting?

Edit line 20 in [`./.opencode/commands/clone-website.md`](https://github.com/JCodesMore/ai-website-cloner-template/blob/main/./.opencode/commands/clone-website.md) to replace "Pixel-perfect" with your desired default (e.g., "Medium-fidelity" or "Low-fidelity"). You should also update [`./.github/skills/clone-website/SKILL.md`](https://github.com/JCodesMore/ai-website-cloner-template/blob/main/./.github/skills/clone-website/SKILL.md) and [`./.gemini/commands/clone-website.toml`](https://github.com/JCodesMore/ai-website-cloner-template/blob/main/./.gemini/commands/clone-website.toml) to ensure all agent types use the same baseline.

### Can I combine multiple custom instructions in a single command?

Yes. Append multiple directives as free-form text after the URL. The agent processes the entire instruction string and applies all valid overrides. For example: `clone-website https://example.com fidelity: low skip animations use dark theme`.

### Why didn't my custom fidelity instruction take effect?

The agent requires unambiguous phrasing to override defaults. Ambiguous terms like "more fidelity" or "less detailed" may be ignored in favor of the pixel-perfect default. Use explicit level declarations like "fidelity level: low-fidelity" or "fidelity: medium" to ensure the instruction is honored.