App Backend Bridge logo

App Backend Bridge

Organization
Navinspire-ia
app-backend-bridge

Phase 4 of App Factory. Keep the existing backend (FastAPI, NestJS, Express, Django, Next.js API) and make the mobile/desktop app talk to it over HTTPS - API base URL, CORS origins capacitor://localhost, http://localhost, https://tauri.localhost, tauri://localhost, auth cookies or tokens. Sidecar backend only when a local desktop backend is required.

Overview

PublisherNavinspire-ia
Repositorynavin
Skill nameapp-backend-bridge
Stars
37
Forks
5
Bundled files
Instructions only
LicenseAGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Navinspire-ia on GitHub. Read the source before you install it.

Installation

Install the App Backend Bridge AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Navinspire-ia/navin/tree/main/navin/skills/app-backend-bridge
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Navinspire-ia/navin.git /tmp/navin
mkdir -p .claude/skills
cp -r /tmp/navin/navin/skills/app-backend-bridge .claude/skills/app-backend-bridge
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable App Backend Bridge in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads App Backend Bridge on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so App Backend Bridge is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

App Backend Bridge

When to use

Whenever the app calls an API or uses auth.

Inputs

  • Backend framework, deployed backend URL, auth library and transport.

Procedure

  1. Never rewrite the backend. Changes are limited to CORS and cookie settings, proposed to the user as a diff first.
  2. App origins to allow: capacitor://localhost (iOS), http://localhost and https://localhost (Android), https://tauri.localhost (Windows), tauri://localhost (macOS, Linux).
  3. CORS per backend, with credentials when cookies are used:
    • FastAPI: CORSMiddleware(allow_origins=[...], allow_credentials=True, allow_methods=["*"], allow_headers=["*"]).
    • Express / NestJS: cors({ origin: [...], credentials: true }) / app.enableCors({...}).
    • Django: django-cors-headers, CORS_ALLOWED_ORIGINS, CORS_ALLOW_CREDENTIALS = True, plus CSRF_TRUSTED_ORIGINS.
    • Next.js route handlers: Access-Control-Allow-Origin echo of the allowed origin + OPTIONS handler.
  4. Auth: prefer bearer tokens stored with @capacitor/preferences (or secure storage plugin) / Tauri store; cookies need SameSite=None; Secure. Android Capacitor can use CapacitorHttp / CapacitorCookies to avoid cross-origin cookie limits.
  5. API base URL from env at build time (VITE_API_URL, NEXT_PUBLIC_API_URL), HTTPS only.
  6. Sidecar (desktop only, when the app needs a local backend): bundle the binary via Tauri bundle.externalBin and spawn it with the shell plugin, scope limited to that binary.

Verification

curl -i -X OPTIONS <api>/health -H "Origin: https://tauri.localhost" -H "Access-Control-Request-Method: GET" returns the origin; login then an authenticated call succeed in the app.

Failure modes and fixes

  • CORS error: origin missing or * with credentials.
  • Logged out after reload: cookie SameSite=Lax blocked on capacitor://localhost / https://tauri.localhost; use tokens or SameSite=None; Secure.
  • Mixed content: http:// API blocked; use HTTPS.

Deliverable

Backend patch proposal (applied only with consent) and the app API config; report step backend.

Frequently asked questions

What does the App Backend Bridge AI skill do?

Phase 4 of App Factory. Keep the existing backend (FastAPI, NestJS, Express, Django, Next.js API) and make the mobile/desktop app talk to it over HTTPS - API base URL, CORS origins capacitor://localhost, http://localhost, https://tauri.localhost, tauri://localhost, auth cookies or tokens. Sidecar backend only when a local desktop backend is required.

Why use App Backend Bridge on TypingMind?

Because you install it once and use it with any model. App Backend Bridge is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install App Backend Bridge in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Navinspire-ia/navin/tree/main/navin/skills/app-backend-bridge. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use App Backend Bridge?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with App Backend Bridge?

As many as you like. As long as a model supports skills, you can use App Backend Bridge with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the App Backend Bridge AI skill free?

Yes. It is published on GitHub by Navinspire-ia under the AGPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇