auto-context-cli 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,577 @@
1
+ Metadata-Version: 2.5
2
+ Name: auto-context-cli
3
+ Version: 1.0.0
4
+ Summary: Autonomous context & instruction manager for AI coding assistants
5
+ Author: Arghya Biswas
6
+ License: MIT
7
+ License-File: LICENSE
8
+ Requires-Python: >=3.11
9
+ Requires-Dist: httpx>=0.27
10
+ Requires-Dist: python-dotenv>=1
11
+ Requires-Dist: rich>=13
12
+ Requires-Dist: typer>=0.12
13
+ Description-Content-Type: text/markdown
14
+
15
+ <div align="center">
16
+
17
+ # 🧠 Auto-Context
18
+
19
+ **Autonomous Context & Instruction Management Protocol for AI Coding Assistants**
20
+
21
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
22
+ [![Platform](https://img.shields.io/badge/Platform-Windows%20PowerShell%20%7C%20Linux%20WSL2%20%7C%20macOS-success.svg)](#-quick-one-line-install)
23
+ [![AI Supported](https://img.shields.io/badge/AI%20Supported-Antigravity%20%7C%20Cursor%20%7C%20Claude%20Code%20%7C%20Copilot%20%7C%20Windsurf-orange.svg)](#-supported-ai-assistants)
24
+ [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Cyber-arghya/auto-context/pulls)
25
+
26
+ *Never lose context, forgotten architecture decisions, or unlogged bug fixes again.*
27
+
28
+ [English](#-english-documentation) â€ĸ [āĻŦāĻžāĻ‚āϞāĻž āύāĻŋāĻ°ā§āĻĻ⧇āĻļāĻŋāĻ•āĻž](#-āĻŦāĻžāĻ‚āϞāĻž-āύāĻŋāĻ°ā§āĻĻ⧇āĻļāĻŋāĻ•āĻž-bengali-guide) â€ĸ [Installation](#-quick-one-line-install) â€ĸ [CLI Usage](#-cli-usage)
29
+
30
+ </div>
31
+
32
+ ---
33
+
34
+ ## ⚡ Quick One-Line Install
35
+
36
+ No manual downloads or complex PATH configurations required. Run the command matching your terminal:
37
+
38
+ ### đŸ“Ļ Universal via `uv` (Fastest, Windows / Mac / Linux / WSL2):
39
+ ```bash
40
+ uv tool install git+https://github.com/Cyber-arghya/auto-context.git
41
+ ```
42
+
43
+ ### đŸĒŸ Windows (PowerShell / `pwsh` 1-Click):
44
+ ```powershell
45
+ irm https://raw.githubusercontent.com/Cyber-arghya/auto-context/main/install.ps1 | iex
46
+ ```
47
+
48
+ ### 🐧 Linux / WSL2 / macOS (Bash / Zsh 1-Click):
49
+ ```bash
50
+ curl -sSL https://raw.githubusercontent.com/Cyber-arghya/auto-context/main/install.sh | bash
51
+ ```
52
+
53
+ > **Note:** The installer automatically configures `init-context` in your user `PATH`, registers shell functions, and provisions the global **Antigravity AI Agent Plugin**.
54
+
55
+ ---
56
+
57
+ ## 🚀 CLI Usage
58
+
59
+ Inside any existing or brand new project folder, simply run:
60
+
61
+ ```bash
62
+ # Navigate to your project
63
+ cd /path/to/any-project
64
+
65
+ # Initialize autonomous context tracking
66
+ init-context
67
+ ```
68
+
69
+ ### Options & Flags:
70
+ ```text
71
+ init-context [OPTIONS] [DIRECTORY]
72
+
73
+ OPTIONS (CONTEXT & RULES):
74
+ -r, --new-rule <NAME> Scaffold a new rule file (.agents/rules/<name>.md)
75
+ -s, --new-skill <NAME> Scaffold a new skill folder (.agents/skills/<name>/SKILL.md)
76
+ -g, --global Target global plugin scope (~/.gemini/config/plugins/auto-context/)
77
+ -f, --force Overwrite existing context.md and standing rule files
78
+ -d, --dry-run Preview generated structure without writing to disk
79
+ -v, --version Display current version
80
+ -h, --help Show help documentation
81
+
82
+ OPTIONS (CENTRAL MEMORY & GRANULAR SHARING):
83
+ memory init [REPO] Initialize private central memory repo (~/.auto-context/memory)
84
+ memory push Audit secrets & push memory brain to private GitHub repo
85
+ memory pull [URL] Pull & sync central memory brain from remote repo
86
+ memory status Show status of central memory brain
87
+ share <NAME> Audit & publish skill or rule to GitHub Gist
88
+ import <URL> Audit & import skill or rule from GitHub Gist or URL
89
+ --as <NAME> Custom name when importing a skill or rule
90
+ --public Publish shared Gist as public (default)
91
+ --secret, --private Publish shared Gist as unlisted/secret
92
+
93
+ OPTIONS (MCP TOOLING):
94
+ --add-mcp <NAME> Add or update an MCP server configuration
95
+ --remove-mcp <NAME> Remove an MCP server from configuration
96
+ --list-mcp List all active MCP server tools
97
+ --preset <PRESET> Preset template (sqlite, postgres, github, filesystem, brave, fetch)
98
+ --command <CMD> Executable command for stdio server (e.g. npx, uvx, python3)
99
+ --args <ARGS> Arguments to pass to command
100
+ --url <URL> Streamable HTTP endpoint URL for remote MCP server
101
+ --env <KEY=VAL,...> Environment variables (e.g. 'GITHUB_TOKEN=xyz')
102
+ ```
103
+
104
+ ---
105
+
106
+ ## 🔌 MCP (Model Context Protocol) Tooling Management (āϟ⧁āϞ āĻŽā§āϝāĻžāύ⧇āϜāĻŽā§‡āĻ¨ā§āϟ)
107
+
108
+ Auto-Context allows you and your AI agents to seamlessly install, update, list, and delete **MCP servers** with single commands:
109
+
110
+ ### 1ī¸âƒŖ Add Popular Pre-configured MCP Servers (Secure Secret Pattern)
111
+ Tokens and connection strings are **never stored as plaintext** in config files or committed to Git. Instead, they reference environment variables (`${VAR_NAME}`), automatically create safe placeholders in `.env.example`, and protect `.env` in `.gitignore`:
112
+
113
+ ```bash
114
+ # Add SQLite database query tool (local file)
115
+ init-context --add-mcp sqlite --args "database.db"
116
+
117
+ # Add PostgreSQL tool (securely references ${DATABASE_URL} from .env)
118
+ init-context --add-mcp postgres
119
+
120
+ # Add GitHub API tool (securely references ${GITHUB_PERSONAL_ACCESS_TOKEN} from .env)
121
+ init-context --add-mcp github
122
+
123
+ # Add Brave Search tool (securely references ${BRAVE_API_KEY} from .env)
124
+ init-context --add-mcp brave
125
+
126
+ # Customize which environment variable holds the secret
127
+ init-context --add-mcp github --env-var MY_CUSTOM_GH_TOKEN
128
+ ```
129
+
130
+ ### 2ī¸âƒŖ 🐍 Python vs. Node Runtimes: `uvx` vs. `npx`
131
+ Auto-Context automatically aligns stdio MCP tools with your project's ecosystem:
132
+ * **Auto-Detection:** If your workspace has a `pyproject.toml`, `requirements.txt`, or `Pipfile`, tools like `sqlite`, `git`, and `fetch` automatically use `uvx` (`mcp-server-*`). In Node.js / JavaScript projects, it defaults to `npx` (`@modelcontextprotocol/server-*`).
133
+ * **Explicit Runtime Flag (`--runtime` / `--runner`):** You can force your preferred runtime at any time:
134
+ ```bash
135
+ # Force Python uvx runner
136
+ init-context --add-mcp sqlite --runtime uvx
137
+
138
+ # Force Node.js npx runner
139
+ init-context --add-mcp sqlite --runtime npx
140
+
141
+ # Python-native tools (DuckDB, Time, Git)
142
+ init-context --add-mcp duckdb
143
+ init-context --add-mcp time
144
+ init-context --add-mcp git --runtime uvx
145
+ ```
146
+
147
+ ### 3ī¸âƒŖ Add Custom Stdio or Remote HTTP MCP Servers
148
+ ```bash
149
+ # Add custom Python/Node MCP server
150
+ init-context --add-mcp my-tool --command "python3" --args "server.py"
151
+
152
+ # Add remote Streamable HTTP MCP server
153
+ init-context --add-mcp remote-api --url "https://mcp.mycompany.com/mcp"
154
+ ```
155
+
156
+ ### 4ī¸âƒŖ List and Delete MCP Tools
157
+ ```bash
158
+ # List all active project or global MCP tools
159
+ init-context --list-mcp
160
+ init-context --list-mcp -g
161
+
162
+ # Remove an MCP tool
163
+ init-context --remove-mcp sqlite
164
+ init-context --remove-mcp github -g
165
+ ```
166
+
167
+ ### 💡 Lifecycle Note: Mid-Flight Execution vs. Next-Session MCP (āĻšāĻžāχāĻŦā§āϰāĻŋāĻĄ āĻŽāĻĄā§‡āϞ)
168
+ > **Host Client Reality:** Most MCP host environments (Antigravity IDE, Cursor, Claude Desktop) load MCP tools **only during session startup**. Modifying `mcp_config.json` mid-session configures the tool for future turns, but requires a session reload/restart before the LLM's active tool schema updates.
169
+ >
170
+ > **Recommended Dual-Path Strategy:**
171
+ > 1. **Current Session (Immediate):** The AI uses CLI commands / scripts (`sqlite3`, `gh`, `curl`) to complete the task right now without interruption.
172
+ > 2. **Persistent Setup (Future Sessions):** `init-context --add-mcp <name>` configures the native MCP tool so it is permanently ready upon next session start or window reload.
173
+
174
+ ---
175
+
176
+ ## đŸ› ī¸ Adding Custom Skills & Rules (āĻ•āĻžāĻ¸ā§āϟāĻŽ āĻ¸ā§āĻ•āĻŋāϞ āĻ“ āϰ⧁āϞ āϝ⧁āĻ•ā§āϤ āĻ•āϰāĻžāϰ āύāĻŋ⧟āĻŽ)
177
+
178
+ You can easily teach your AI assistants new abilities (**Skills**) or enforce custom guidelines (**Rules**), either for a **single project (Local)** or across your **entire computer (Global)**.
179
+
180
+ ### 🧠 Skills vs. Rules: What is the Difference?
181
+
182
+ | Type | Purpose | When Active | Format / Location |
183
+ | :--- | :--- | :--- | :--- |
184
+ | **Rule** | Behavioral constraints, coding standards, security boundaries, or test requirements. | Always active (`trigger: always_on`) or context-triggered. | `.agents/rules/<name>.md` or `GEMINI.md` |
185
+ | **Skill** | Step-by-step procedures, deployment runbooks, debugging steps, or CLI tool guides. | Activated on-demand when relevant task is requested. | `.agents/skills/<name>/SKILL.md` |
186
+
187
+ ---
188
+
189
+ ### 1ī¸âƒŖ How to Add a New Rule
190
+
191
+ #### Method A: Using 1-Command CLI (Recommended)
192
+ ```bash
193
+ # In Bash / WSL2 / macOS:
194
+ init-context -r code-style # Create local rule for active project
195
+ init-context -r security-policy --global # Create global rule for ALL projects
196
+
197
+ # In Windows PowerShell:
198
+ init-context -NewRule code-style
199
+ init-context -NewRule security-policy -Global
200
+ ```
201
+
202
+ #### Method B: Manual File Creation
203
+ Create a file at `.agents/rules/my-rule.md`:
204
+ ```markdown
205
+ ---
206
+ name: my-rule
207
+ description: Enforce TypeScript strict null checks and ESLint formatting.
208
+ trigger: always_on
209
+ ---
210
+
211
+ # Rule: TypeScript & Formatting Standards
212
+
213
+ ## Guidelines
214
+ - Never use 'any' type in production code.
215
+ - Run 'npm run lint' before finalizing any changes.
216
+ ```
217
+
218
+ ---
219
+
220
+ ### 2ī¸âƒŖ How to Add a New Skill
221
+
222
+ #### Method A: Using 1-Command CLI (Recommended)
223
+ ```bash
224
+ # In Bash / WSL2 / macOS:
225
+ init-context -s deploy-docker # Create local skill for active project
226
+ init-context -s server-diagnostics -g # Create global skill for ALL projects
227
+
228
+ # In Windows PowerShell:
229
+ init-context -NewSkill deploy-docker
230
+ init-context -NewSkill server-diagnostics -Global
231
+ ```
232
+
233
+ #### Method B: Manual File Creation
234
+ Create a folder and file at `.agents/skills/deploy-docker/SKILL.md` with standard YAML frontmatter:
235
+ ```markdown
236
+ ---
237
+ name: deploy-docker
238
+ version: 1.0.0
239
+ description: Step-by-step procedure to build and deploy dockerized containers.
240
+ triggers: ["docker", "container", "compose", "dockerfile"]
241
+ ---
242
+
243
+ # Skill: Docker Deployment Runbook
244
+
245
+ ## When to Activate
246
+ - When the user asks to build, run, or deploy Docker containers.
247
+
248
+ ## Step-by-Step Procedure
249
+ 1. Build the production image:
250
+ ```bash
251
+ docker compose build --no-cache
252
+ ```
253
+ 2. Run health check on containers:
254
+ ```bash
255
+ docker compose ps
256
+ ```
257
+ ```
258
+
259
+ ---
260
+
261
+ ## ⚡ Two-Tier Progressive Disclosure (Token-Optimized Architecture)
262
+
263
+ To avoid context window bloat and burning 20k–30k tokens at session startup, Auto-Context enforces a **Two-Tier Progressive Disclosure Protocol**:
264
+
265
+ ```
266
+ ┌─────────────────────────────────────────────────────────────────────────────┐
267
+ │ Tier 1: Lightweight Index in context.md (~150 Tokens) │
268
+ │ - Lists: Skill Name, Version, One-line Description, Trigger Keywords │
269
+ │ - Target Token Budget: < 800 tokens at boot │
270
+ └──────────────────────────────────────â”Ŧ──────────────────────────────────────┘
271
+ │ When user prompt matches trigger
272
+ â–ŧ (e.g. "build docker container")
273
+ ┌─────────────────────────────────────────────────────────────────────────────┐
274
+ │ Tier 2: On-Demand Dynamic Loading (read_file) │
275
+ │ - Agent inspects .agents/skills/<skill-name>/SKILL.md │
276
+ │ - Executes the step-by-step procedure and concludes │
277
+ │ - Future chats remain clean and unbloated! │
278
+ └─────────────────────────────────────────────────────────────────────────────┘
279
+ ```
280
+
281
+ ### đŸ“Ļ Default Starter Pack (Built-in Rules & Skills)
282
+ Every initialized project automatically comes equipped with:
283
+ * **Default Rules:**
284
+ 1. `maintain_context.md`: Autonomous context sync, self-evolution, and progressive disclosure protocol.
285
+ 2. `security-boundaries.md`: Zero plaintext secrets in Git, strict `.env` isolation.
286
+ 3. `code-standards.md`: Clean code, DRY principles, early returns, and conventional commits.
287
+ * **Default Skills:**
288
+ 1. `docker-ops`: Multi-stage Dockerfiles, compose setups, container diagnostics, cleanup.
289
+ 2. `git-workflow`: Conventional commits, branch hygiene, safe rebasing, merge conflict resolution.
290
+ 3. `server-diagnostics`: RAM/swap health checks, CPU load, open sockets, disk utilization.
291
+ 4. `browser-testing`: UI and mock API automation using `context.local.md` without credential amnesia.
292
+
293
+ ---
294
+
295
+ ### 3ī¸âƒŖ Local vs. Global Scopes
296
+
297
+ * **Local Scope (`.agents/`):**
298
+ * Stored inside your project folder (`.agents/rules/` and `.agents/skills/`).
299
+ * Can be committed to Git so teammates and CI/CD share the exact same rules.
300
+ * **Global Scope (`~/.gemini/config/plugins/auto-context/`):**
301
+ * Stored machine-wide.
302
+ * Every single project opened in Antigravity automatically inherits these skills and rules.
303
+
304
+ ---
305
+
306
+ ## 🧠 Central Memory Brain & Dotfiles Culture for AI Agents
307
+
308
+ Developers maintain `.dotfiles` on GitHub to configure any Linux/macOS machine in seconds. **Auto-Context** brings this exact dotfiles paradigm to **AI Coding Agents**:
309
+
310
+ ```
311
+ ┌─────────────────────────────────────────────────────────────────────────────┐
312
+ │ Developer's Workstations & Cloud VMs │
313
+ │ [Ubuntu Server / WSL2] [Windows Desktop] [macOS Laptop] │
314
+ │ │ │ │ │
315
+ │ â–ŧ â–ŧ â–ŧ │
316
+ │ ~/.auto-context/memory ~/.auto-context/memory ~/.auto-context... │
317
+ └──────────────────────────────────────â”Ŧ──────────────────────────────────────┘
318
+ │ 🔒 Pre-Push Zero-Bypass Secret Auditor
319
+ â–ŧ (Rejects tokens, certs, .env)
320
+ ┌─────────────────────────────────────────────────────────────────────────────┐
321
+ │ Private GitHub Repository: auto-context-memory │
322
+ │ - profile.md: Developer communication style, language, & clean code rules │
323
+ │ - rules/: Machine-wide coding guidelines synced across all projects │
324
+ │ - skills/: Curated runbooks, workflows, and diagnostics │
325
+ │ - Zero Data Loss: Reinstall OS and run 'init-context memory pull' to restore!│
326
+ └─────────────────────────────────────────────────────────────────────────────┘
327
+ ```
328
+
329
+ ### 1ī¸âƒŖ Initialize Your Private Brain (`memory init`)
330
+ Initializes local storage (`~/.auto-context/memory`), generates `profile.md`, hardens `.gitignore`, and automatically creates a **strictly Private** repository on GitHub:
331
+
332
+ ```bash
333
+ # Initialize with default private repo name (auto-context-memory)
334
+ init-context memory init
335
+
336
+ # Or customize private repository name
337
+ init-context memory init my-agent-brain
338
+ ```
339
+
340
+ > [!IMPORTANT]
341
+ > **Strictly Private Flag Enforcement:** `memory init` automatically injects the `--private` flag into `gh repo create` without bypass. Your developer habits and server notes will never be published publicly by mistake.
342
+
343
+ ### 2ī¸âƒŖ Pre-Push Secret Auditor with Zero-Bypass Hard-Block (`memory push`)
344
+ Before committing or pushing to your private memory repository, Auto-Context recursively audits every file:
345
+ * **Prohibited Files:** `.env`, `.env.*`, `id_rsa`, `id_ed25519`, `authorized_keys`, `known_hosts`
346
+ * **Prohibited Keys:** `*.pem`, `*.key`, `*.p12`, `*.pfx`, `*.kdbx`
347
+ * **Prohibited Tokens:** `ghp_`, `sk_live_`, `sk-ant-`, `AIza`, `AKIA`, `BEGIN PRIVATE KEY`, or hardcoded passwords.
348
+
349
+ If any secret is detected, the script **immediately terminates with Exit 1**, printing the exact file path, line number, pattern, and masked preview. Zero secrets reach remote storage!
350
+
351
+ ```bash
352
+ init-context memory push
353
+ ```
354
+
355
+ ### 3ī¸âƒŖ Granular Sharing via GitHub Gist (`share <name>`)
356
+ Share a single battle-tested skill or rule with the developer community without exposing your private memory brain:
357
+
358
+ ```bash
359
+ # Share a skill as a public GitHub Gist
360
+ init-context share git-workflow
361
+
362
+ # Or share as an unlisted/secret Gist
363
+ init-context share docker-ops --secret
364
+ ```
365
+
366
+ Outputs a direct shareable Gist link and the exact 1-liner for other developers to import it.
367
+
368
+ ### 4ī¸âƒŖ Gist Import with Collision Guard (`import <url>`)
369
+ Import any shared skill or rule directly into your local project or global brain:
370
+
371
+ ```bash
372
+ # Import into local project (.agents/skills/<name>/SKILL.md)
373
+ init-context import https://gist.github.com/Cyber-arghya/4d9e7b415a772c91ba2066fa19b8df9c
374
+
375
+ # Import globally across all projects (~/.gemini/config/plugins/auto-context/skills/)
376
+ init-context import <gist-url> --global
377
+
378
+ # Import with a custom local name
379
+ init-context import <gist-url> --as custom-deploy-skill
380
+ ```
381
+
382
+ > [!TIP]
383
+ > **Collision Guard (Overwrite Protection):** If an imported skill or rule already exists with the same name, Auto-Context will never silently overwrite it. In an interactive terminal, it prompts you: `[O]verwrite / [R]ename / [C]ancel`. In non-interactive CI/CD, it safely exits with `1` unless `--force` is explicitly provided.
384
+
385
+ ---
386
+
387
+ ## 💡 How It Works
388
+
389
+ ```mermaid
390
+ flowchart TD
391
+ RunCLI["1. User runs 'init-context' in project"] --> Detect["2. Auto-detects Language & Stack (Node, Python, Go, Rust, etc.)"]
392
+ Detect --> GenContext["3. Generates 5-Section 'context.md' (Vault, Problem Log, Architecture, Runbook)"]
393
+ Detect --> GenRules["4. Generates Standing Agent Rules (GEMINI.md, AGENTS.md, maintain_context.md)"]
394
+ Detect --> InitGit["5. Initializes Git repository if missing"]
395
+
396
+ subgraph ActiveDevelopment ["Autonomous Pair Programming"]
397
+ GenContext & GenRules --> AICoding["AI writes code, modifies configs, or resolves errors"]
398
+ AICoding --> AutoCheck{"Rule Enforcement"}
399
+ AutoCheck --> AutoUpdate["AI automatically updates 'context.md' before concluding turn"]
400
+ end
401
+ ```
402
+
403
+ Whenever an AI coding assistant operates in an `auto-context` repository:
404
+ 1. **Zero-User-Prompting Mandate:** You never have to remind the AI to update notes.
405
+ 2. **Problem & Incident Vault:** Every bug, connection timeout, DNS issue, or build error is logged alongside its root cause and exact terminal commands used to fix it.
406
+ 3. **Master Configuration Vault:** IPs, ports, usernames, API tokens, and environment parameters stay synchronized.
407
+ 4. **Reproducibility:** A developer or fresh OS can reconstruct the environment using the embedded runbook.
408
+
409
+ ---
410
+
411
+ ## 📁 Generated Files Overview
412
+
413
+ | File | Purpose | Security & Git Status |
414
+ | :--- | :--- | :--- |
415
+ | [`context.md`](./templates/context.template.md) | Single Source of Truth: Architecture, problem logs, and reproduction runbook. | Tracked in Git |
416
+ | [`context.local.md`](./templates/context.local.template.md) | 🔒 Local Sandbox & Dummy Vault: Mock test logins, seed users, local ports. | STRICTLY GIT-IGNORED (`chmod 600`) |
417
+ | [`GEMINI.md`](./templates/GEMINI.template.md) | Project-level standing rule enforcing continuous autonomous synchronization. | Tracked in Git |
418
+ | [`AGENTS.md`](./templates/AGENTS.template.md) | Universal agent instruction file for non-Antigravity environments. | Tracked in Git |
419
+ | [`.agents/rules/maintain_context.md`](./templates/maintain_context.template.md) | Native Antigravity progressive disclosure rule (`trigger: always_on`). | Tracked in Git |
420
+
421
+ ---
422
+
423
+ ## 🔒 Local Sandbox Vault (`context.local.md`) — Zero Prompt Injection & Leak Protection
424
+
425
+ When AI agents perform browser automation (Playwright/Puppeteer), API testing, or local dev integration, they need test credentials (e.g. `admin@test.local / pass123`).
426
+
427
+ To prevent **Prompt Injection Leaks** and keep production secrets safe:
428
+ 1. **Mock Data Only:** `context.local.md` is strictly reserved for local mock/dummy data, seed accounts, and localhost ports.
429
+ 2. **Zero Real Secrets:** Real production API keys, database passwords, or live payment tokens MUST NEVER be stored in `context.local.md` or `context.md`; they remain in `.env` or OS Keychain.
430
+ 3. **Automated Git Isolation:** `init-context` automatically adds `context.local.md` and `*.local.md` to `.gitignore` and sets file permissions to `chmod 600`.
431
+ 4. **No Chat Amnesia:** The AI assistant inspects `context.local.md` automatically, remembering how to log into your local app across new chat sessions without asking you every time.
432
+
433
+ ---
434
+
435
+ ## 🤖 Supported AI Assistants
436
+
437
+ * **Google Antigravity IDE & CLI (`agy`)** *(Native full plugin support)*
438
+ * **Cursor AI** *(Reads `AGENTS.md` and `context.md`)*
439
+ * **Claude Code / Anthropic Agent**
440
+ * **GitHub Copilot Chat & Workspace**
441
+ * **Windsurf IDE (Codeium)**
442
+ * **Cline / Roo Code**
443
+
444
+ ---
445
+
446
+ ## 🇧🇩 āĻŦāĻžāĻ‚āϞāĻž āύāĻŋāĻ°ā§āĻĻ⧇āĻļāĻŋāĻ•āĻž (Bengali Guide)
447
+
448
+ ### āĻāϟāĻŋ āϕ⧀ āĻāĻŦāĻ‚ āϕ⧇āύ āĻĒā§āĻ°ā§Ÿā§‹āϜāύ?
449
+ āφāĻŽāϰāĻž āϝāĻ–āύ āĻāφāχ āĻ…ā§āϝāĻžāϏāĻŋāĻ¸ā§āĻŸā§āϝāĻžāĻ¨ā§āϟ (Antigravity, Cursor, Claude Code) āĻĻāĻŋā§Ÿā§‡ āϕ⧋āĻĄāĻŋāĻ‚ āĻŦāĻž āϏāĻžāĻ°ā§āĻ­āĻžāϰ āĻ•āύāĻĢāĻŋāĻ—āĻžāϰ āĻ•āϰāĻŋ, āϤāĻ–āύ āĻ•āĻŋāϛ⧁āĻ•ā§āώāĻŖ āĻĒāϰ āĻāφāχ āφāϗ⧇āϰ āĻ•āύāĻĢāĻŋāĻ—āĻžāϰ⧇āĻļāύ, āϏāĻžāĻ°ā§āĻ­āĻžāϰ āφāχāĻĒāĻŋ āĻŦāĻž āĻĒ⧁āϰ⧋āύ⧋ āĻāϰāϰ āϭ⧁āϞ⧇ āϝāĻžā§ŸāĨ¤
450
+
451
+ **Auto-Context** āφāĻĒāύāĻžāϰ āĻĒā§āϰāĻœā§‡āĻ•ā§āĻŸā§‡āϰ āϰ⧁āĻŸā§‡ āĻāĻ•āϟāĻŋ āĻ¸ā§āĻŦ⧟āĻ‚āĻ•ā§āϰāĻŋ⧟ `context.md` āĻāĻŦāĻ‚ āĻ•āĻŋāϛ⧁ āĻļāĻ•ā§āϤāĻŋāĻļāĻžāϞ⧀ āύāĻŋ⧟āĻŽ (Rules) āϏ⧇āϟ āĻ•āϰ⧇ āĻĻā§‡ā§ŸāĨ¤ āĻĢāϞ⧇:
452
+ 1. **āφāĻĒāύāĻžāϕ⧇ āφāϰ āĻŽāύ⧇ āĻ•āϰāĻŋā§Ÿā§‡ āĻĻāĻŋāϤ⧇ āĻšāĻŦ⧇ āύāĻž:** āĻāφāχ āύāĻŋāĻœā§‡ āĻĨ⧇āϕ⧇āχ āĻĒā§āϰāϤāĻŋ āĻ•āĻžāĻœā§‡āϰ āĻļ⧇āώ⧇ `context.md` āĻĢāĻžāχāϞ āφāĻĒāĻĄā§‡āϟ āĻ•āϰ⧇ āĻĻ⧇āĻŦ⧇āĨ¤
453
+ 2. **āϏāĻŽāĻ¸ā§āϝāĻžāϰ āύāĻŋāϖ⧁āρāϤ āϏāĻŽāĻžāϧāĻžāύ āϰ⧇āĻ•āĻ°ā§āĻĄ āĻĨāĻžāϕ⧇:** āϟāĻžāĻ°ā§āĻŽāĻŋāύāĻžāϞ⧇ āϕ⧋āύ⧋ āĻāϰāϰ āϏāĻŽāĻžāϧāĻžāύ āĻ•āϰāϞ⧇ āϏ⧇āχ āĻāϰāϰāϟāĻŋ āϕ⧇āύ āĻšā§Ÿā§‡āĻ›āĻŋāϞ āĻāĻŦāĻ‚ āϕ⧀ āĻ•āĻŽāĻžāĻ¨ā§āĻĄ āĻĻāĻŋā§Ÿā§‡ āĻ āĻŋāĻ• āĻ•āϰāĻž āĻšā§Ÿā§‡āϛ⧇ āϤāĻž āϚāĻžāĻ°ā§āϟ āφāĻ•āĻžāϰ⧇ āϏ⧇āĻ­ āĻĨāĻžāĻ•āĻŦ⧇āĨ¤
454
+ 3. **āĻĒāĻžāϏāĻ“ā§ŸāĻžāĻ°ā§āĻĄ āĻ“ āĻĒā§‹āĻ°ā§āϟ āĻ­āĻ˛ā§āϟ:** āϏāĻžāĻ°ā§āĻ­āĻžāϰ⧇āϰ āĻ¸ā§āĻŸā§āϝāĻžāϟāĻŋāĻ• āφāχāĻĒāĻŋ, āĻ•ā§āϞāĻžāωāĻĄāĻĢā§āϞ⧇āϝāĻŧāĻžāϰ āϟāĻžāύ⧇āϞ āφāχāĻĄāĻŋ āĻŦāĻž āĻĄāĻžāϟāĻžāĻŦ⧇āϜ āĻĒā§‹āĻ°ā§āϟ āϏāĻŦāϏāĻŽā§Ÿ āĻāĻ• āĻĢāĻžāχāϞ⧇ āύāĻŋāϖ⧁āρāϤāĻ­āĻžāĻŦ⧇ āĻĨāĻžāĻ•āĻŦ⧇āĨ¤
455
+
456
+ ### āχāύāĻ¸ā§āϟāϞ⧇āĻļāύ āĻ“ āĻŦā§āϝāĻŦāĻšāĻžāϰ:
457
+ * **āωāχāĻ¨ā§āĻĄā§‹āϜ āĻĒāĻžāĻ“ā§ŸāĻžāϰāĻļ⧇āϞ (PowerShell)-āĻ:**
458
+ ```powershell
459
+ irm https://raw.githubusercontent.com/Cyber-arghya/auto-context/main/install.ps1 | iex
460
+ ```
461
+ * **āϞāĻŋāύāĻžāĻ•ā§āϏ / WSL2-āĻ:**
462
+ ```bash
463
+ curl -sSL https://raw.githubusercontent.com/Cyber-arghya/auto-context/main/install.sh | bash
464
+ ```
465
+ * **āύāϤ⧁āύ āĻĒā§āϰāĻœā§‡āĻ•ā§āĻŸā§‡ āĻŦā§āϝāĻŦāĻšāĻžāϰ:**
466
+ āϝ⧇āϕ⧋āύ⧋ āĻĒā§āϰāĻœā§‡āĻ•ā§āϟ āĻĢā§‹āĻ˛ā§āĻĄāĻžāϰ⧇ āĻĸ⧁āϕ⧇ āϟāĻžāĻ°ā§āĻŽāĻŋāύāĻžāϞ⧇ āĻļ⧁āϧ⧁ āϞāĻŋāϖ⧁āύ:
467
+ ```bash
468
+ init-context
469
+ ```
470
+ āĻŦā§āϝāϏ! āφāĻĒāύāĻžāϰ āĻĒā§āϰāĻœā§‡āĻ•ā§āĻŸā§‡ āĻ¸ā§āĻŦ⧟āĻ‚āĻ•ā§āϰāĻŋ⧟ āĻ•āύāĻŸā§‡āĻ•ā§āϏāϟ āĻŸā§āĻ°ā§āϝāĻžāĻ•āĻŋāĻ‚ āϚāĻžāϞ⧁ āĻšā§Ÿā§‡ āϝāĻžāĻŦ⧇āĨ¤
471
+
472
+ ### āύāϤ⧁āύ āĻ¸ā§āĻ•āĻŋāϞ āĻŦāĻž āϰ⧁āϞ āϤ⧈āϰāĻŋ āĻ•āϰāĻžāϰ āύāĻŋ⧟āĻŽ:
473
+ * **āύāϤ⧁āύ āϰ⧁āϞ (Rule) āϤ⧈āϰāĻŋ āĻ•āϰāϤ⧇:**
474
+ ```bash
475
+ init-context -r my-rule-name # āĻŦāĻ°ā§āϤāĻŽāĻžāύ āĻĒā§āϰāĻœā§‡āĻ•ā§āĻŸā§‡āϰ āϜāĻ¨ā§āϝ
476
+ init-context -r my-rule-name -g # āϏāĻ•āϞ āĻĒā§āϰāĻœā§‡āĻ•ā§āĻŸā§‡āϰ āϜāĻ¨ā§āϝ āĻ—ā§āϞ⧋āĻŦāĻžāϞāĻŋ
477
+ ```
478
+ * **āύāϤ⧁āύ āĻ¸ā§āĻ•āĻŋāϞ (Skill) āϤ⧈āϰāĻŋ āĻ•āϰāϤ⧇:**
479
+ ```bash
480
+ init-context -s my-skill-name # āĻŦāĻ°ā§āϤāĻŽāĻžāύ āĻĒā§āϰāĻœā§‡āĻ•ā§āĻŸā§‡āϰ āϜāĻ¨ā§āϝ
481
+ init-context -s my-skill-name -g # āϏāĻ•āϞ āĻĒā§āϰāĻœā§‡āĻ•ā§āĻŸā§‡āϰ āϜāĻ¨ā§āϝ āĻ—ā§āϞ⧋āĻŦāĻžāϞāĻŋ
482
+ ```
483
+
484
+ ### ⚡ āϟ⧁-āϟāĻžā§ŸāĻžāϰ āĻĒā§āϰ⧋āĻ—ā§āϰ⧇āϏāĻŋāĻ­ āĻĄāĻŋāϏāĻ•ā§āϞ⧋āϜāĻžāϰ (āĻŸā§‹āϕ⧇āύ āϏāĻžāĻļā§āĻ°ā§Ÿā§€ āφāĻ°ā§āĻ•āĻŋāĻŸā§‡āĻ•āϚāĻžāϰ):
485
+ āĻļ⧁āϰ⧁āϤ⧇āχ āϏāĻŦ āĻ¸ā§āĻ•āĻŋāϞ⧇āϰ āĻŦ⧜ āĻĢāĻžāχāϞ āϞ⧋āĻĄ āĻ•āϰ⧇ āĻšā§āϝāĻžāϟ āĻ­āĻžāϰ⧀ āĻ•āϰāĻž āĻšā§Ÿ āύāĻžāĨ¤ āĻāφāχ āĻļ⧁āϰ⧁āϤ⧇ āĻŽāĻžāĻ¤ā§āϰ ā§§ā§Ģā§Ļâ€“ā§¨ā§Ļā§Ļ āĻŸā§‹āϕ⧇āύ⧇āϰ āĻāĻ•āϟāĻŋ āχāύāĻĄā§‡āĻ•ā§āϏ (`context.md` Section 5) āĻĒā§œā§‡āĨ¤ āϝāĻ–āύ āύāĻŋāĻ°ā§āĻĻāĻŋāĻˇā§āϟ āϟāĻžāĻ¸ā§āϕ⧇āϰ āĻ•āĻŋāĻ“ā§ŸāĻžāĻ°ā§āĻĄ āĻŽāĻŋāϞāĻŦ⧇ (āϝ⧇āĻŽāύ: "docker", "rebase", "diagnostics", "ui test"), āϕ⧇āĻŦāϞ āϤāĻ–āύāχ āϏāĻ‚āĻļā§āϞāĻŋāĻˇā§āϟ āĻĒā§‚āĻ°ā§āĻŖāĻžāĻ™ā§āĻ— āĻ¸ā§āĻ•āĻŋāϞāϟāĻŋ āĻ…āύ-āĻĄāĻŋāĻŽāĻžāĻ¨ā§āĻĄ āĻŽā§‡āĻŽāϰāĻŋāϤ⧇ āϞ⧋āĻĄ āĻšā§ŸāĨ¤ āĻĢāϞ⧇ āĻŸā§‹āϕ⧇āύ āĻ–āϰāϚ āĻĒā§āϰāĻžā§Ÿ ā§Žā§Ļ% āĻšā§āϰāĻžāϏ āĻĒāĻžā§Ÿ!
486
+
487
+ ### 🧠 āϏ⧇āĻ¨ā§āĻŸā§āϰāĻžāϞ āĻŽā§‡āĻŽāϰāĻŋ āĻŦā§āϰ⧇āχāύ āĻ“ āĻĄāϟāĻĢāĻžāχāϞāϏ (Disaster Recovery & Dotfiles):
488
+ āϝ⧇āĻŽāύāĻ­āĻžāĻŦ⧇ āϞāĻŋāύāĻžāĻ•ā§āϏ⧇ `.dotfiles` āĻĻāĻŋā§Ÿā§‡ āĻšā§‹āϖ⧇āϰ āĻĒāϞāϕ⧇ āϏāĻŦ āĻ•āύāĻĢāĻŋāĻ—āĻžāϰ⧇āĻļāύ āϏ⧇āϟāφāĻĒ āĻ•āϰāĻž āϝāĻžā§Ÿ, āϤ⧇āĻŽāύāĻŋ Auto-Context āĻĻāĻŋā§Ÿā§‡ āφāĻĒāύāĻžāϰ āĻāφāχ āĻāĻœā§‡āĻ¨ā§āĻŸā§‡āϰ āĻŽā§‡āĻŽāϰāĻŋ āĻ“ āĻ¸ā§āĻ•āĻŋāϞ āĻ•ā§āϞāĻžāωāĻĄā§‡ āύāĻŋāϰāĻžāĻĒāĻĻ⧇ āϏ⧇āĻ­ āĻĨāĻžāϕ⧇:
489
+ 1. **āĻĒā§āϰāĻžāχāϭ⧇āϟ āĻŽā§‡āĻŽāϰāĻŋ āϤ⧈āϰāĻŋ (`memory init`):**
490
+ ```bash
491
+ init-context memory init # āĻ¸ā§āĻŦ⧟āĻ‚āĻ•ā§āϰāĻŋ⧟āĻ­āĻžāĻŦ⧇ āĻ—āĻŋāϟāĻšāĻžāĻŦ⧇ Private āϰāĻŋāĻĒā§‹āϜāĻŋāϟāϰāĻŋ āϤ⧈āϰāĻŋ āĻ•āϰāĻŦ⧇
492
+ ```
493
+ 2. **āϜāĻŋāϰ⧋-āĻŦāĻžāχāĻĒāĻžāϏ āϏāĻŋāĻ•ā§āϰ⧇āϟ āĻ…āĻĄāĻŋāϟāϰ āĻ“ āĻĒ⧁āĻļ (`memory push`):**
494
+ āĻŽā§‡āĻŽāϰāĻŋ āĻĒ⧁āĻļ āĻ•āϰāĻžāϰ āφāϗ⧇ āĻ¸ā§āĻ•ā§āϰāĻŋāĻĒā§āϟāϟāĻŋ āĻĒā§āϰāϤāĻŋāϟāĻŋ āĻĢāĻžāχāϞ āĻ¸ā§āĻ•ā§āϝāĻžāύ āĻ•āϰ⧇āĨ¤ āϕ⧋āύ⧋ āĻĢāĻžāχāϞ⧇ āϭ⧁āϞāĻŦāĻļāϤ āĻŸā§‹āϕ⧇āύ (`ghp_`, `sk_live_`, `AIza`, āχāĻ¤ā§āϝāĻžāĻĻāĻŋ) āĻŦāĻž `.env` āĻĢāĻžāχāϞ āĻĨāĻžāĻ•āϞ⧇ āĻ¸ā§āĻ•ā§āϰāĻŋāĻĒā§āϟ āĻ¤ā§ŽāĻ•ā§āώāĻŖāĻžā§Ž Exit 1 āĻĻāĻŋā§Ÿā§‡ āφāϟāϕ⧇ āĻĻā§‡ā§Ÿ āĻāĻŦāĻ‚ āĻĢāĻžāχāϞ⧇āϰ āύāĻžāĻŽ āĻ“ āϞāĻžāχāύ āύāĻžāĻŽā§āĻŦāĻžāϰ āĻĻ⧇āĻ–āĻŋā§Ÿā§‡ āĻĻā§‡ā§Ÿ:
495
+ ```bash
496
+ init-context memory push # āϏāĻŋāĻ•ā§āϰ⧇āϟ āĻ…āĻĄāĻŋāϟ āĻĒāĻžāϏ āĻ•āϰāϞ⧇ āϤāĻŦ⧇āχ āĻĒ⧁āĻļ āĻšāĻŦ⧇
497
+ ```
498
+ 3. **āĻ…āĻ¨ā§āϝāĻžāĻ¨ā§āϝ āĻĒāĻŋāϏāĻŋ āĻŦāĻž āĻ“āĻāϏ-āĻ āĻŽā§‡āĻŽāϰāĻŋ āϰāĻŋāĻ•āĻ­āĻžāϰāĻŋ (`memory pull`):**
499
+ ```bash
500
+ init-context memory pull <repo-url> # āϏāĻŽā§āĻĒā§‚āĻ°ā§āĻŖ āĻŽā§‡āĻŽāϰāĻŋ āĻ“ āĻ¸ā§āĻ•āĻŋāϞ āύāϤ⧁āύ āĻŽā§‡āĻļāĻŋāύ⧇ āύāĻŋāĻŽā§‡āώ⧇āχ āϏāϚāϞ
501
+ ```
502
+
503
+ ### 🤝 āĻ—ā§āĻ°ā§āϝāĻžāύ⧁āϞāĻžāϰ āĻļā§‡ā§ŸāĻžāϰāĻŋāĻ‚ āĻ“ āĻ•āϞāĻŋāĻļāύ āĻ—āĻžāĻ°ā§āĻĄ (Share & Import):
504
+ āĻĒ⧁āϰ⧋ āĻĒā§āϰāĻžāχāϭ⧇āϟ āϰāĻŋāĻĒā§‹ āύāĻž āĻĒāĻžāĻ āĻŋā§Ÿā§‡ āĻļ⧁āϧ⧁āĻŽāĻžāĻ¤ā§āϰ āĻāĻ•āϟāĻŋ āύāĻŋāĻ°ā§āĻĻāĻŋāĻˇā§āϟ āĻ¸ā§āĻ•āĻŋāϞ āĻŦāĻž āϰ⧁āϞ āĻŦāĻ¨ā§āϧ⧁āĻĻ⧇āϰ āϏāĻžāĻĨ⧇ āĻ—āĻŋāĻ¸ā§āĻŸā§‡āϰ āĻŽāĻžāĻ§ā§āϝāĻŽā§‡ āĻļā§‡ā§ŸāĻžāϰ āĻ•āϰāϤ⧇ āĻĒāĻžāϰāĻŦ⧇āύ:
505
+ * **āĻ¸ā§āĻ•āĻŋāϞ āĻļā§‡ā§ŸāĻžāϰ āĻ•āϰāϤ⧇:**
506
+ ```bash
507
+ init-context share git-workflow # GitHub Gist āϞāĻŋāĻ‚āĻ• āϤ⧈āϰāĻŋ āĻ•āϰ⧇ āĻĻ⧇āĻŦ⧇
508
+ ```
509
+ * **āĻļā§‡ā§ŸāĻžāϰāĻ•ā§ƒāϤ āĻ¸ā§āĻ•āĻŋāϞ āχāĻŽāĻĒā§‹āĻ°ā§āϟ āĻ•āϰāϤ⧇ (āĻ“āĻ­āĻžāϰāϰāĻžāχāϟ āϏ⧁āϰāĻ•ā§āώāĻž):**
510
+ ```bash
511
+ init-context import <gist-url> # āϞ⧋āĻ•āĻžāϞ āĻĒā§āϰāĻœā§‡āĻ•ā§āĻŸā§‡ āϝ⧁āĻ•ā§āϤ āĻ•āϰāĻŦ⧇
512
+ init-context import <gist-url> -g # āĻ—ā§āϞ⧋āĻŦāĻžāϞ āĻāφāχ āĻĒā§āϞāĻžāĻ—āχāύ⧇ āϝ⧁āĻ•ā§āϤ āĻ•āϰāĻŦ⧇
513
+ ```
514
+ > **āĻ•āϞāĻŋāĻļāύ āĻ—āĻžāĻ°ā§āĻĄ:** āϝāĻĻāĻŋ āĻāĻ•āχ āύāĻžāĻŽā§‡āϰ āϕ⧋āύ⧋ āĻ¸ā§āĻ•āĻŋāϞ āφāϗ⧇ āĻĨ⧇āϕ⧇āχ āĻĨ⧇āϕ⧇ āĻĨāĻžāϕ⧇, āϤāĻŦ⧇ āĻāϟāĻŋ āύāĻž āϜāĻžāύāĻŋā§Ÿā§‡ āĻ•āĻ–āύ⧋ āĻ“āĻ­āĻžāϰāϰāĻžāχāϟ āĻ•āϰāĻŦ⧇ āύāĻžāĨ¤ āϟāĻžāĻ°ā§āĻŽāĻŋāύāĻžāϞ⧇ āφāĻĒāύāĻžāϕ⧇ ā§ŠāϟāĻŋ āĻ…āĻĒāĻļāύ āĻĻ⧇āĻŦ⧇: `[O]verwrite / [R]ename / [C]ancel`āĨ¤
515
+
516
+ ### āύāĻŋāϰāĻžāĻĒāĻĻ MCP āϟ⧁āϞ āĻŽā§āϝāĻžāύ⧇āϜāĻŽā§‡āĻ¨ā§āϟ (Secure Secrets via .env):
517
+ āĻŸā§‹āϕ⧇āύ āĻŦāĻž āĻĒāĻžāϏāĻ“ā§ŸāĻžāĻ°ā§āĻĄ āĻ•āĻ–āύ⧋āχ āĻ•āύāĻĢāĻŋāĻ— āĻĢāĻžāχāϞ⧇ āĻ“āĻĒ⧇āύ āĻŸā§‡āĻ•ā§āϏāĻŸā§‡ āϏ⧇āĻ­ āĻšā§Ÿ āύāĻž, āĻŦāϰāĻ‚ `.env` āĻāĻŦāĻ‚ `.gitignore`-āĻāϰ āĻŽāĻžāĻ§ā§āϝāĻŽā§‡ āύāĻŋāϰāĻžāĻĒāĻĻ āĻĨāĻžāϕ⧇:
518
+ * **āϟ⧁āϞ āϝ⧁āĻ•ā§āϤ āĻ•āϰāϤ⧇ (Node `npx` āĻŦāĻž Python `uvx` āϏāĻžāĻĒā§‹āĻ°ā§āϟ):**
519
+ ```bash
520
+ init-context --add-mcp sqlite # āĻ…āĻŸā§‹ āĻĄāĻŋāĻŸā§‡āĻ•āĻļāύ (Node āĻšāϞ⧇ npx, Python āĻšāϞ⧇ uvx)
521
+ init-context --add-mcp sqlite --runtime uvx # āĻĒāĻžāχāĻĨāύ uvx āĻĒā§āϝāĻžāϕ⧇āϜ āϰāĻžāύāĻžāϰ āύāĻŋāĻļā§āϚāĻŋāϤ āĻ•āϰāϤ⧇
522
+ init-context --add-mcp duckdb # āĻĒāĻžāχāĻĨāύ-āĻŦ⧇āϏāĻĄ DuckDB MCP āϏāĻžāĻ°ā§āĻ­āĻžāϰ
523
+ init-context --add-mcp github # GitHub API (.env āĻĨ⧇āϕ⧇ āĻŸā§‹āϕ⧇āύ āĻĒ⧜āĻŦ⧇)
524
+ init-context --add-mcp postgres # PostgreSQL (.env āĻĨ⧇āϕ⧇ DATABASE_URL āĻĒ⧜āĻŦ⧇)
525
+ ```
526
+ * **āϟ⧁āϞ āϤāĻžāϞāĻŋāĻ•āĻž āĻĻ⧇āĻ–āϤ⧇ āĻ“ āĻŽā§āĻ›āϤ⧇:**
527
+ ```bash
528
+ init-context --list-mcp # āϏāĻ•ā§āϰāĻŋ⧟ āϟ⧁āϞ āĻĻ⧇āĻ–āϤ⧇
529
+ init-context --remove-mcp github # āϟ⧁āϞ āĻŽā§āϛ⧇ āĻĢ⧇āϞāϤ⧇
530
+ ```
531
+
532
+ ---
533
+
534
+ ## đŸ“Ļ Repository Structure
535
+
536
+ ```text
537
+ auto-context/
538
+ ├── pyproject.toml # Modern PEP 517/621 package & CLI configuration
539
+ ├── src/
540
+ │ └── auto_context/
541
+ │ ├── __init__.py
542
+ │ ├── main.py # Root Typer CLI & backwards-compatible flag router
543
+ │ ├── config.py # Centralized paths (~/.auto-context, ~/.gemini, etc.)
544
+ │ ├── security.py # Zero-Bypass secret scanner & credential auditor
545
+ │ ├── commands/
546
+ │ │ ├── init_cmd.py # Workspace scaffolding & stack detection
547
+ │ │ ├── memory.py # Central private git repo brain management
548
+ │ │ ├── mcp.py # Native JSON MCP registry & runtime selector
549
+ │ │ ├── share.py # Granular Gist publishing via gh / httpx
550
+ │ │ └── import_cmd.py # Remote URL / Gist import & collision guard
551
+ │ └── templates/ # Package-bundled Markdown & JSON templates
552
+ ├── plugin/ # Antigravity Global Plugin bundle
553
+ │ ├── plugin.json # Manifest
554
+ │ ├── rules/AGENTS.md # Global standing rule
555
+ │ └── skills/auto-context/SKILL.md # Progressive disclosure skill
556
+ ├── install.sh # 1-Click universal installer (Linux / WSL2 / macOS)
557
+ ├── install.ps1 # 1-Click universal installer (Windows PowerShell)
558
+ ├── setup.bat # Double-clickable Windows setup
559
+ ├── uninstall.sh # Clean uninstaller for POSIX
560
+ ├── uninstall.ps1 # Clean uninstaller for Windows
561
+ ├── LICENSE # MIT License
562
+ └── README.md # Documentation
563
+ ```
564
+
565
+ ---
566
+
567
+ ## 👤 Author
568
+
569
+ * **GitHub:** [@Cyber-arghya](https://github.com/Cyber-arghya)
570
+ * **Email:** [work.arghya01@gmail.com](mailto:work.arghya01@gmail.com)
571
+
572
+ ---
573
+
574
+ ## 📄 License
575
+
576
+ This project is open-source and licensed under the [MIT License](./LICENSE). Contributions and pull requests are warmly welcomed!
577
+
@@ -0,0 +1,30 @@
1
+ auto_context/__init__.py,sha256=VWP0iZV0But_V7_onEA4XmUcPhA3pPlhbTWsDwGqCQE,110
2
+ auto_context/config.py,sha256=AvT2rcKOn-8EB5npGrZxfaO1wRGP-3imoJtDS3VAdlM,2841
3
+ auto_context/main.py,sha256=b__fO3P5U9l7LNAZTP7ixMzMG06bMz7LYbyGCxb69_g,5457
4
+ auto_context/security.py,sha256=DSgbdQNyDG6XausfdQA_z9ykTSdbC1hSPE4EzSkMh_U,6097
5
+ auto_context/commands/__init__.py,sha256=tm-8FCeF3AiZBjLeIBXlr5HZHYtL_yQJquLYar8WnqI,49
6
+ auto_context/commands/import_cmd.py,sha256=KzL1eEBipx1m-0-AxVszXw6jhMUqkqUtCzRmFEHQJwo,5622
7
+ auto_context/commands/init_cmd.py,sha256=jRNDCUoma08dPwExxNV6mF0GhECpA4WVbguz3Uy-m00,13648
8
+ auto_context/commands/mcp.py,sha256=8juHLt8dFIj7hVOiIx55Dfrw2yavTAE2o2xR61Ubb2s,13099
9
+ auto_context/commands/memory.py,sha256=mW1yfftazsXXQvYRAu0dp8p-7P2nWVqpUXAND3RELRE,8991
10
+ auto_context/commands/share.py,sha256=11qn3xf7fH0el7yECAOhvk86a-5yBFIGaUyIwjbbEi0,4337
11
+ auto_context/templates/AGENTS.template.md,sha256=H9O7sDfq6hBTvOYu9E9mT6C2rdY-7L-os5pgf6HeuNI,4001
12
+ auto_context/templates/GEMINI.template.md,sha256=H9O7sDfq6hBTvOYu9E9mT6C2rdY-7L-os5pgf6HeuNI,4001
13
+ auto_context/templates/context.local.template.md,sha256=pBLkGCVy9-IrhA9s9jmjZtnDtqPhMOSSTG6mujSrbqE,2011
14
+ auto_context/templates/context.template.md,sha256=Rqq2Ie4rE-86JNSJetX0g0GfXAKCLtwK4dokiZIyPV8,3784
15
+ auto_context/templates/maintain_context.template.md,sha256=4EeCayIy9RyQ6sKqaMtJYBFJKTSBD0hKT3iHlAMLvpI,2295
16
+ auto_context/templates/mcp_config.template.json,sha256=CGpx4Vj9wYpfovCgjuQ8orL7ATHJuWLzn0kX7u9CVZk,268
17
+ auto_context/templates/profile.template.md,sha256=3T6fIGkbsoBeh_zDwK6Af96NUog-mXLqaJsLm1uVDkM,956
18
+ auto_context/templates/rule.template.md,sha256=70pZcUEfFEpdVkq2nRueZULkHfEf_28SDznADbQzmJ0,649
19
+ auto_context/templates/skill.template.md,sha256=npDjHhEfJEXh4Jni30S8kO25ybLTMbwC0ylRpDWGJnE,902
20
+ auto_context/templates/rules/code-standards.md,sha256=v7N7d6DtnKFsl7yqT3cHjCzEoMKyTP4fnrXOW45-AOY,1111
21
+ auto_context/templates/rules/security-boundaries.md,sha256=VjmpTjfHDeaK6sQwWOrNpZy_fYDeTrL1k7c1x7RBVWE,1125
22
+ auto_context/templates/skills/browser-testing/SKILL.md,sha256=15ZSZs5bNU6FMRjbMQuzt3p2-hhPtJC1Ja5wJQ4-KzU,2331
23
+ auto_context/templates/skills/docker-ops/SKILL.md,sha256=xa8ihM_uWmChIvYAYCOpCUn8FRaRAg7GCAegg7kdRTM,2611
24
+ auto_context/templates/skills/git-workflow/SKILL.md,sha256=QJWbxJ6no2I4SkTjhJ1lNO9pjQRy5c6WxkEa4BUyTsA,2273
25
+ auto_context/templates/skills/server-diagnostics/SKILL.md,sha256=xQO9vie0IP6vPFLtYnoXBDWTV4_e7Qb1FnAuQH7fQ9A,1641
26
+ auto_context_cli-1.0.0.dist-info/METADATA,sha256=S1EJVP5pul451hW6xWxfsL_XWqjUa7fav5deInvMGjI,32804
27
+ auto_context_cli-1.0.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
28
+ auto_context_cli-1.0.0.dist-info/entry_points.txt,sha256=aaGYgFg2sFhEyW-ig6qXzT26wRBsb0jF1Rs-aSxARNQ,56
29
+ auto_context_cli-1.0.0.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
+ auto_context_cli-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ init-context = auto_context.main:main
File without changes