# How-to Enabling Prototyper on Existing Project + Prototyper Full Context Clear

**URL:** https://community.firebasestudio.dev/t/how-to-enabling-prototyper-on-existing-project-prototyper-full-context-clear/13781
**Category:** General
**Created:** [May 26, 2025, 3:20am UTC](https://community.firebasestudio.dev/t/how-to-enabling-prototyper-on-existing-project-prototyper-full-context-clear/13781 "2025-05-26T03:20:40Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![Carlos\_Tecles](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/carlos_tecles/32/6443_2.png) [@Carlos\_Tecles](https://community.firebasestudio.dev/u/Carlos_Tecles)
#### Post date: [May 30, 2025, 2:26pm UTC](https://community.firebasestudio.dev/t/how-to-enabling-prototyper-on-existing-project-prototyper-full-context-clear/13781/11 "2025-05-30T14:26:10Z")

</div>

Hi @Martin_Cafiero , I made a personal process (unfortunately manual) I run every morning:

1. At **Prototyper** : Ask to update all context files, keeping then optimized and concise
2. At **Code** :

- Backup files using the Terminal

```auto
timestamp=$(date +%Y%m%d%H%M%S); mkdir -p "/home/user/studio/context/context_backup/" && cp "/home/user/.idx/ai/capra-context-state.json" "/home/user/studio/context/context_backup/capra-context-state-${timestamp}.json" && cp "/home/user/.idx/ai/capra-thread.json" "/home/user/studio/context/context_backup/capra-thread-${timestamp}.json"

```

- Open the capra-context file using the Terminal

```auto
code /home/user/.idx/ai/capra-context-state.json

```

- Replace the capra-context-state content to:

```auto
{
  "currentProposalObject": {
    "appName": "APP_NAME",
    "coreFeatures": [
      {
        "name": "Existing Project Core",
        "description": "Details to be determined by codebase scan.",
        "categories": ["ui"]
      }
    ],
    "uiStyleGuidelines": [
      {
        "category": "layout",
        "description": "Awaiting codebase scan for details."
      }
    ]
  },
  "agentHistories": {
    "app-prototyping-agent:proposal-agent": [],
    "app-prototyping-agent:edit-app-agent": [
      {
        "role": "model",
        "content": [
          {
            "text": "I'm ready to work on your project. Please let me know what you'd like to do."
          }
        ]
      }
    ]
  },
  "currentState": "edit-app"
}

```

1. At **Prototyper** :, clear the capra-tread:

```auto
/clear

```

1. Reset the workspace

---

_[View the full topic](https://community.firebasestudio.dev/t/how-to-enabling-prototyper-on-existing-project-prototyper-full-context-clear/13781)._
