Amnesia Defense Minimize AI "forgetting" to complete tasks Install Agent
ANTI-AMNESIA v2 Improved version to combat AI amnesia Install Agent
---
## đĄ Boost Efficiency with SOLO & GLM 4.6
Unlock the full potential of your development workflow by combining **TRAE's SOLO Agent** with the **GLM 4.6 model**.
| Benefit | Description |
| :--- | :--- |
| đ° **Save Your Fast Tokens** | Running the SOLO agent with GLM 4.6 **does not consume your TRAE paid fast tokens**. |
| đ **Cost-Effective Scaling** | Perform extensive, autonomous coding tasks without draining your premium credits. |
| ⥠**Optimized Workflow** | Reserve your TRAE fast tokens for urgent, high-priority interactive tasks. |
---
## đ ī¸ GLM 4.6 Alternative IDE Options
The GLM 4.6 Coding Plan supports seamless AI-powered coding across a variety of popular tools.
### Supported Clients & IDEs
| IDE | Link |
| :--- | :--- |
| Claude Code | [Documentation](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview) |
| Cline | [GitHub](https://github.com/cline/cline) |
| OpenCode | [GitHub](https://github.com/opencode-ai/opencode) |
| Roo Code | [GitHub](https://github.com/RooVetGit/Roo-Code) |
| Kilo Code | [Website](https://kilo.ai) |
| Crush | [GitHub](https://github.com/charmbracelet/crush) |
| Goose | [GitHub](https://github.com/block/goose) |
### âī¸ Setup Instructions
1. **Subscribe:** Get an active subscription to the [GLM 4.6 Coding Plan](https://z.ai/subscribe?ic=R0K78RJKNW).
2. **Automatic Availability:** In most supported tools, GLM-4.6 becomes available automatically upon subscription.
3. **Claude Code Configuration:** GLM-4.6 is the default model for `ANTHROPIC_DEFAULT_OPUS_MODEL` and `ANTHROPIC_DEFAULT_SONNET_MODEL`.
đ For detailed documentation, visit the [Z.AI Developer Docs](https://docs.z.ai/devpack/overview).
---
## âī¸ Virtual Machine for AI Coding FREE - Anywhere
Full Stack Workstation is a **free AI tool** designed to transform your coding experience, suitable for small tasks.
| Feature | Description |
| :--- | :--- |
| đ **Open Source GLM Models** | Powered by cutting-edge models, tailored for English and Chinese users. |
| đ§ **Advanced Reasoning** | Supports complex reasoning and deep research tasks. |
| đ¸ **Zero Cost** | A completely free, open-source alternative to paid AI assistants. |
| đą **Code Anywhere** | Code from anywhere, on any device, with zero setup. |
> â ī¸ **Note:** Best for small edits. Functionality is limited to one chat context window.
---
## đ Awesome MCPs
### Vision MCP Server
**Visual Intelligence for Your IDE**
The **Vision MCP Server** brings GLM-4.5V's advanced visual capabilities directly into MCP-compatible clients like Claude Code and Cline.
| Feature | Description |
| :--- | :--- |
| đŧī¸ **Image Analysis** | Analyze and interpret various image formats. |
| đŦ **Video Understanding** | Gain insights from local and remote videos. |
| đ **Seamless Integration** | Easy setup with MCP-compatible tools. |
[**Learn more & Install**](https://docs.z.ai/devpack/mcp/vision-mcp-server)
---
## đĄ Developer Hacks
### Quick Links
| Hack | Description |
| :--- | :--- |
| [đą PWA Recipe](#-pwa-recipe) | Make your app installable on Android |
| [đ¤ AI Push Prompt](#-ai-push-prompt) | Automate PWA integration with AI |
| [đ Deploy to Vercel](#-deploy-to-vercel--go-live-instantly) | Get a live URL in seconds |
| [đ§ Claude Code + GLM](#-claude-code-with-glm-46-power) | Use Claude Code with affordable GLM models |
---
);
};
```
**3. Mount the Component**
Add `` to your main layout or `App.tsx`.
**4. Test & Verify**
Open Chrome DevTools -> Application tab -> Manifest to verify your manifest is loaded.
---
đ¤ AI Push Prompt
*Copy and paste this entire block into your AI Agent (TRAE, Claude Code, etc.) to automate PWA integration:*
```text
# Role: PWA Transformation Architect
You are an expert software engineer specializing in transforming standard React/Vite web applications into high-quality Progressive Web Apps (PWAs).
Your goal is to help "no-code/low-code" oriented users turn their websites into installable mobile apps with offline capabilities. You prioritize **safety**, **simplicity**, and **seamless UI integration**.
# Operational Protocol
## Phase 1: Context & Safety (MANDATORY START)
Before writing any PWA code, you must perform the following checks:
1. **Project Analysis**: Scan `package.json` to confirm it is a Vite/React project.
2. **Asset Verification**: Check `public/` folder for icons.
3. **The Safety Gate**: Create a local backup with `git add . && git commit -m "Pre-PWA Backup"`.
## Phase 2: Strategic Placement
Analyze the user's existing UI and suggest the most logical place for the "Install App" button.
## Phase 3: Implementation
Provide the full code blocks with brief explanations.
## Phase 4: Verification & Education
Instruct the user to run `npm install` and test via Chrome DevTools -> Application -> Manifest.
```
---
### đ Deploy to Vercel & Go Live Instantly
Deploy your web application from TRAE IDE directly to Vercel and get a live URL in seconds.
| Step | Action |
| :---: | :--- |
| 1 | **Click "Deploy"** in the AI Chat panel or Browser tool. |
| 2 | **Authorize Vercel:** Click "Start Authorization" â Select "All Projects" â Click "Install". |
| 3 | **Go Live:** Click "Redeploy" to get your live, shareable link! |
---
### đ§ Claude Code with GLM 4.6 Power
> *"For those who are used to Claude Code, you can enjoy the same interface while using a much lower cost model."*
**Step 1: Install Claude Code**
```bash
npm install -g @anthropic-ai/claude-code
```
**Step 2: Configure GLM Coding Plan**
```bash
curl -O "https://cdn.bigmodel.cn/install/claude_code_zai_env.sh" && bash ./claude_code_zai_env.sh
```
Manual Configuration (Optional)
Update `~/.claude/settings.json`:
```json
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "your_zai_api_key",
"ANTHROPIC_BASE_URL": "https://api.z.ai/api/anthropic",
"API_TIMEOUT_MS": "3000000"
}
}
```
**Step 3: Run**
```bash
cd your-project
claude
```
---
### đĄī¸ Security & Privacy
| Rule | Description |
| :--- | :--- |
| đĢ **Never Commit Secrets** | Do not commit `.env` files or API keys to public repositories. |
| đ **Use Environment Variables** | Store sensitive keys in `.env` files and add them to `.gitignore`. |
| đī¸ **Review AI Code** | Always review AI-generated code before deploying to production. |
---
## đšī¸ Vibe Games
Explore a collection of HTML5 mini-games developed using **Vibe Coding** techniques.
[**Browse Games Collection**](https://github.com/roman-ryzenadvanced/Custom-Engineered-Agents-and-Tools-for-Vibe-Coders/tree/main/vibecoding-games)
---
## đ Quick Links
| Resource | Link |
| :--- | :---: |
| đī¸ 10% Discount for Z.AI GLM Models | [Subscribe](https://z.ai/subscribe?ic=R0K78RJKNW) |
| đ TRAE.AI Integration Guide | [Download PDF](https://github.com/roman-ryzenadvanced/Custom-Engineered-Agents-and-Tools-for-Vibe-Coders/blob/main/Adding_GLM_4.6_Model_to_TRAE__A_Visual_Guide__3_.pdf) |
| đ TRAE.AI and SOLO Agent | [Official Page](https://www.trae.ai/s/WJtxyE) |
---