Skip to main content
Glama

โšก๐Ÿง  flashmind โ€” Gemini 3.8 Flash Smart Agent

Make Gemini 3.8 Flash remember, plan, verify โ€” and eliminate hallucinations.

Persistent cross-tool memory via Engram ยท 4 proactive coding skills ยท strict anti-hallucination rules.
One plugin for Gemini CLI, Antigravity, Cursor, VS Code, Windsurf, and Claude Code.

npm version test dependencies node license


๐Ÿ’ก Why Flashmind?

Fast AI models are incredible coding partners until they:

  • Forget architecture decisions and re-ask the same questions every new session.

  • Invent imaginary packages, deprecated functions, and fake CLI flags.

  • Say "fixed!" without ever executing tests or verifying their changes.

Flashmind solves this with three integrated layers:

  1. ๐Ÿง  Shared Memory (Engram MCP): Automatically recalls previous project bugs and decisions at the start of a task, and saves new lessons before closing. Reviews overdue memories (mem_review) against the current code before trusting them. All editors share one local database.

  2. ๐Ÿ›ก๏ธ Anti-Hallucination Rules (GEMINI.md): Enforces citing code evidence, separating facts from assumptions, and admitting unknowns.

  3. ๐ŸŽฏ Proactive Agent Skills: Step-by-step playbooks loaded on-demand for planning, debugging, and verification.


Related MCP server: coding-memory-mcp

๐Ÿš€ Quick Start

Add to your tool's MCP configuration (mcp.json / mcp_config.json):

{
  "mcpServers": {
    "flashmind": {
      "command": "npx",
      "args": ["-y", "flashmind"]
    }
  }
}

Option 2: Gemini CLI Extension

Install in one command:

gemini extensions install https://github.com/Hvftpie13/Flashmind_Gemini-3.8-Flash_Smart-agent
gemini -m gemini-3.8-flash

Option 3: Automated Full Installer (Engram + Skills + Rules)

Includes the Engram binary, all Agent Skills, and automated client configuration:

macOS / Linux:

git clone https://github.com/Hvftpie13/Flashmind_Gemini-3.8-Flash_Smart-agent flashmind
cd flashmind
./install.sh antigravity-cli

Windows (PowerShell):

git clone https://github.com/Hvftpie13/Flashmind_Gemini-3.8-Flash_Smart-agent flashmind
cd flashmind
.\install.ps1 antigravity-cli

๐Ÿงฉ Client Configuration

Pre-configured files are available in configs/:

Client / Editor

MCP Configuration File

Rules Location

Antigravity

configs/antigravity/mcp_config.json โ†’ ~/.gemini/config/mcp_config.json

AGENTS.md โ†’ Rules / ~/.gemini/GEMINI.md

Cursor

configs/cursor/mcp.json โ†’ ~/.cursor/mcp.json

configs/cursor/flashmind.mdc โ†’ ~/.cursor/rules/

VS Code (Copilot)

configs/vscode/mcp.json โ†’ .vscode/mcp.json

configs/vscode/flashmind.instructions.md

Windsurf

configs/windsurf/mcp_config.json โ†’ ~/.codeium/windsurf/mcp_config.json

configs/windsurf/global_rules.md

Claude Code

Run bash configs/claude-code.sh

AGENTS.md โ†’ CLAUDE.md

Any MCP Client

configs/mcp.json

AGENTS.md


๐ŸŽฏ Proactive Agent Skills

Loaded automatically when relevant to your current prompt:

Skill

Trigger

Purpose

plan-first

Tasks with 3+ steps or multi-file edits

Read code โ†’ Draft plan โ†’ Execute one verified step at a time.

no-invented-code

Writing new functions or imports

Always verify symbols and installed versions against local source.

systematic-debugging

Errors, test failures, or crashes

Check past memories โ†’ Reproduce โ†’ Root-cause โ†’ Minimal fix โ†’ Prove it.

verify-before-done

Before declaring "fixed" or "done"

Run linter/tests and report exact terminal results.


โšก Slash Commands (Gemini CLI)

Command

Action

/memory:recall <query>

Search and summarize what memory knows about a topic

/memory:save <fact>

Save a verified decision or discovery

/memory:forget <item>

Delete outdated memories

/memory:summary

Generate and record a session summary

/verify

Audit the last answer claim-by-claim with source evidence


๐Ÿ”„ Updating

Updating never touches your memories: they live in ~/.engram/ and ~/.flashmind/. See CHANGELOG.md for what changed.

How you installed

How to update

Gemini CLI extension

gemini extensions update flashmind (or gemini extensions update --all). It updates in place, so do not run install again. If it cannot find the source (e.g. you installed under the old repo name), run gemini extensions uninstall flashmind, then install again from the current URL.

NPX

Restart your editor. If it keeps running an old version, clear npx's cached copy with npm cache clean --force and restart.

Automated installer / git clone

cd flashmind && git pull, then run ./install.sh (macOS/Linux) or .\install.ps1 (Windows) again. Skills are overwritten by name, not duplicated.

Manual config files

Re-copy from configs/ and replace, never append (see below).

Engram

brew upgrade engram, or re-run go install github.com/Gentleman-Programming/engram/v3/cmd/engram@latest.

Avoiding duplicates

  • One entry per server. Keep a single "flashmind" and a single "engram" key in your MCP config. Edit the existing entry; do not paste a second copy.

  • Replace rules, don't append. For Cursor, Windsurf and VS Code, overwrite the file with the same name. For a shared file such as ~/.gemini/GEMINI.md or CLAUDE.md, wrap the rules in markers the first time you paste them, and replace everything between the markers on each update:

    <!-- flashmind:start -->
    ...contents of AGENTS.md...
    <!-- flashmind:end -->
  • One copy of the skills. If you copied skills/ into more than one folder (for example ~/.gemini/skills and ~/.agents/skills), keep one and delete the other.

  • Start a new session after updating so the agent loads the new rules and skills.


๐Ÿ”’ Privacy & Local-First

  • 100% Local: All memories are stored on your machine (~/.engram/ or ~/.flashmind/). Zero telemetry or external API calls.

  • Secret Redaction: Automatically rejects passwords, bearer tokens, API keys, and sensitive credentials.

  • Zero Dependencies: Lightweight and fast with 0 third-party runtime npm packages.


๐Ÿ“„ License

MIT ยฉ Flashmind Contributors.

Available Tools

8 tools
memory_contextA

(Engram fallback.) Call ONCE at the start of a task when the mem_* tools are not available. Returns a digest of key memories (user profile, preferences, active projects, decisions) so you do not re-ask what is already known.

Inputs: max_items.

memory_deleteB

Delete a memory. Only when the user asks or the fact is proven wrong.

Inputs: id (required).

memory_getB

Read one full memory by id.

Inputs: id (required).

memory_listC

List memories (newest first), optionally filtered by category.

Inputs: limit, category.

memory_saveA

Save a durable fact: user identity/preferences, project details, decisions, lessons from mistakes. Never store your guesses as 'verified'. Never store passwords, API keys, tokens, card/account numbers, or ID numbers.

Inputs: content (required), tags, source, category, +1 more.

memory_updateC

Update an existing memory (e.g. a fact changed). Prefer updating over creating duplicates.

Inputs: id (required), tags, source, content, +2 more.

memory_verifyA

Check a claim against memory before stating it as fact. Returns candidate memories and a status: SUPPORTED_CANDIDATES (compare the content yourself) or NO_EVIDENCE.

Inputs: claim (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelogโ€ฆ

    TDQS

    A3.7/5.0

    Scored across 8 tools

    Disambiguation4/5

    The tools are mostly distinct: save, get, list, update, delete form clear CRUD roles, while context/search/verify have explicit usage guidance. There is some overlap between search, list, context, and verify since all retrieve candidate memories, but the descriptions give enough cues to choose correctly.

    Naming Consistency5/5

    All tools use a consistent memory_ prefix followed by a clear verb or noun, in uniform snake_case. The pattern is predictable across the entire set.

    Tool Count5/5

    Eight tools is well-scoped for a memory service: CRUD operations plus search, list, context digest, and verification. No tool feels redundant or missing at the count level.

    Completeness5/5

    The surface covers the full memory lifecycle: create/save, read (get/list/search/context), update, delete, and verification. No obvious operational gaps for the stated purpose.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI coding assistants with persistent project memory to retain architectural decisions, code patterns, and domain knowledge across sessions. It stores data locally in a SQLite database, allowing agents to remember, recall, and manage project-specific context using full-text search.
      3 npm
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides a local long-term memory layer for AI coding tools like Cursor and Claude Code, enabling cross-session, cross-tool sharing of project facts, user preferences, decisions, and workflows.
      11 npm
      2
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Provides AI coding agents with a local-first persistent memory layer they can read and write during sessions, storing decisions, preferences, error patterns, and research per project or globally. Enables semantic and keyword search, formatted context recall, and cross-project guideline surfacing without API keys or cloud storage.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Gives AI coding agents a local-first persistent memory they can read and write directly during sessions, storing decisions, preferences, error patterns, and guidelines in per-project and global SQLite stores. Enables semantic and keyword retrieval of relevant context across sessions so agents start work already knowing a codebase's conventions and history.
      -