ES Download

Teach MADRE something new.

MADRE is an app where you talk to several AIs in the same chat, about the folders on your computer. You can teach it new things in two ways, and each one fits in a single file. A skill tells your AIs how you do something, like how you put together a quote. A module adds something MADRE couldn’t do: a command, a tool or a connection to another service. Your AI can write it for you, or you can write it yourself. You don’t compile anything or sign up anywhere.

Based on docs/SDK.md · MADRE 1.1.5

A skill or a module?

Your AI can write either one for you. A skill teaches MADRE how you work. A module teaches it something it can’t do yet.

A skill and a module, side by side
A skillA module
What it isA text that explains how you do something, like quoting or answering a client.A code file that adds something MADRE didn’t have.
Who uses itWhichever AI answers.MADRE, and your AIs while they answer your message.
What it can doAdvise. It never grants permissions.Add commands, tools, settings, pages of its own and connections to other services.
How you askType /habilidad nueva and describe how you work.Type /module and say what it should do.
How it’s sharedSend the file to whoever you want, or put it in the Market, the catalog on madre.run.In the Market, once it’s reviewed and signed.

Skills: explain once how you work.

A skill you write for Claude only works in Claude. A MADRE skill works in all your AIs. On every turn, MADRE hands the AI your message along with a text of instructions, which we call the brief. If your message has the words the skill is waiting for, MADRE adds the skill to that brief on its own.

  1. You write to any of your AIs, like you always do.
  2. MADRE notices you said “quote”, one of your skill’s words.
  3. MADRE hands the skill to the AI along with your message. A tag tells you why.
  4. Whichever AI answers, it quotes the way you do.
HABILIDAD.md
---
id: cotizaciones
name: { es: "Cotizaciones", en: "Quotes" }
when: "The user asks for a quote, an estimate or a price for a client."
version: 1.0.0
minMadre: 1.1.2
---

When you are asked for a quote:

- Follow the order in `referencias/plantilla.md`.
- Always ask for the delivery date before giving a price.
- Put VAT separately, never included.
- If a detail is missing, ask for it in one line instead of guessing.
A complete skill. The header goes on top. What matters most there is when: the words that make it kick in. Below goes the text the AI reads as written. Read the skills guide
  • It comes with six. MADRE ships with six: Explain it simply, Messages and emails to customers, Social media posts, Tables and spreadsheets, Your website step by step, and Summaries and to-dos. Turn off the ones you don’t want in Modules › Skills.

  • Bring over what you have. If you already have skills written for Claude or Codex, “Bring over what you already have” reads them and shows them to you. You copy the ones you pick, and the originals stay where they are.

  • Call it by name. With /habilidad cotizaciones … it’s used on that message even if you don’t say its words. With /habilidad nueva … you ask your AI to write you one.

  • Keep it short. Every time it’s used, its whole text goes along with the turn, so the cap is 8,000 characters. Long stuff, like a template, goes in referencias/ and the AI opens it when it needs it.

  • It doesn’t grant permissions. It doesn’t raise the permission you sent your message with, and it can’t override MADRE’s rules. If it comes with a script (a small program), only an AI with Full access can run it.

  • Share it. Send the file to someone, drag it into a conversation, or put it in the Market, where it shows up reviewed, signed, and with your name and your license.

Modules: add features to MADRE.

A module is a JavaScript file (.mjs) that imports nothing from outside. You write what you want in it, and MADRE builds its card on the Modules screen, with its switch and settings, just like the ones it comes with.

  • Commands with /. You type them in the message box, like /hello. They answer with a card you and your AIs read, and can include a button that opens a page of your module.

  • Tools for the AI. The AI gets extra tools only while it answers your message, and MADRE tells it which ones it has. You hand them over as MCP servers, the standard way to give tools to an AI.

  • Settings without drawing anything. List the dropdowns, switches and fields you want. MADRE draws them and saves what you pick.

  • Keys kept apart. Say which key you need, like a service’s. MADRE adds a field to paste it, keeps it for your user only and gives it to your module alone.

  • Pages of its own. Your routes (your module’s addresses) always live under /api/x/your-module/ and answer with data or a page.

  • Notifications. If your module sends notices, like Reminders does, MADRE adds it to Settings › Notifications. A notice only goes out if the person wants it.

  • Programs kept up to date. If your module uses an outside program, MADRE keeps an eye on its version and shows you the command before updating it.

  • Teach Diagnostics. Diagnostics is the part of MADRE that spots failures and tells you how to fix them. Your module can teach it new failures, each with its fix for each operating system.

hello.mjs
export default {
  id: 'hello',
  name: 'HELLO',
  summary: 'Greets from the composer.',
  settings: { enabled: false, greeting: 'hello' },
  async status(ctx) {
    return { status: { installed: Boolean(ctx.settings.enabled), detail: ctx.settings.enabled ? 'on' : 'off' } };
  },
  slash: [{
    name: 'hello',
    usage: '/hello [name]',
    summary: 'Greets someone.',
    async execute(ctx, args) {
      return {
        ok: true, title: 'HELLO',
        text: `${ctx.settings.greeting}, ${args[0] ?? 'crew'}`,
        // The card offers it as a button; it only takes your own routes.
        link: { href: '/api/x/hello/greeting', label: 'Open the greeting' },
      };
    },
  }],
  // Routes of its own, always under /api/x/<id>/.
  routes: [{
    method: 'GET',
    path: '/api/x/hello/greeting',
    async handler(ctx) {
      return { status: 200, html: `<p>${ctx.settings.greeting}</p>` };
    },
  }],
};
A complete module. It has a switch, one setting, the /hello command with its button and a page of its own. There’s no import because MADRE hands it everything it needs. See hello-module.mjs
  1. You ask

    Type /module and what you need. For example: “a /todos command that lists the project’s TODOs”.

  2. You give permission

    It needs the #2 Can create permission, which lets the AI create new files. If it’s off, MADRE asks you for it and keeps your request exactly as you wrote it. Typing the command never grants the permission for you.

  3. Your AI writes it

    A single file, <id>.module.mjs, with its icon, left in its draft folder. The AI never installs it.

  4. You install it

    A card lets you install it for all your projects or just this one. You read it, pick, and it shows up in Modules as “Yours”.

Want to write it yourself? Copy the file to ~/.pulse/modules/, or to .madre/modules/ inside your project, and hit Reload modules in “Create your module”. If something fails, it tells you right there which file and which line.

Can it connect to…?

A module can do anything any Node program can do on your computer (Node is what runs JavaScript outside the browser). So yes, it can connect to your online store or your calendar. What changes is how easily each service lets you use your own key.

  1. Works the day you install it

    A Paste a key and you’re done.

    It can be a personal access token, an API key (the code a program uses to get into a service) or an app password. You get it yourself in a few minutes, and nobody has to review it. Almost everything useful is here.

    • GitHub
    • Linear
    • Notion
    • Stripe
    • Shopify
    • Odoo
    • Telegram
    • Your database
  2. Works, but takes some work

    B Each person registers their own app.

    You create an app in the service, copy two values and approve the connection in your browser. On top of that, someone has to build that sign-in.

    • Google Calendar and Drive
    • Microsoft
    • Mercado Libre
    • Zoom
  3. No, not as something you install

    C There’s paperwork in the way.

    The service requires a security review or a verified publisher. To connect, you’d have to be the developer yourself.

    • Reading your Gmail
    • WhatsApp
    • Instagram
    • Banks
  • Say where it connects. In reaches you write what data goes out, when, where to and where that sending is turned off. If you leave it out, those sends show up in MADRE’s send log as an address nobody declared.

  • Sending things takes Full access. Tools that send something out, like an email, disappear under any permission below #4 Full access. The AI doesn’t even know they exist.

  • The key stays out of the brief. Only the process your module starts gets it. It doesn’t go into the AI’s brief or into the log.

Share it in the Market.

In the Market, a person reads every module before signing it and publishing it with your name. You don’t need the terminal to send yours.

  1. Prepare

    On your module’s card, tap Send to the Market. Write its name, a one-line description and what it does, in Spanish and English. Then pick the category it’ll show up in (its shelf) and your license.

  2. Check

    MADRE checks it the same way the Market will: that it loads, that the name and version match, and how far its code reaches.

  3. Get the files

    MADRE puts the two files the repository asks for in a folder: the module and its entrada.json.

  4. Propose it

    Open the folder of the madre-mercado repository on GitHub and drag the two files in. GitHub builds the proposal for you.

Once it’s signed, it shows up with the Community tag and “Made by” with your name. Before installing it, people see where it connects, which keys it asks for and what it adds.

What a module can’t touch.

MADRE checks that it loads and stays in its own space. What its code actually does, only you can judge. Install the ones you’ve read, or the signed ones from the Market.

It runs apart, with limits.
It runs in its own process, which can’t write to your files or start programs. Node’s permissions set those limits, and they won’t stop code built to do harm. That’s why you read it first.
Its addresses, under /api/x/<id>/.
Never on top of one of MADRE’s addresses, never with another module’s name.
It can’t make up messages.
It can’t slip in fake turns or answers from your AIs.
It can’t read other keys.
It only gets its own.

What’s missing for your module or skill?

If the SDK won’t let you do something you need, tell me. The form doesn’t ask for an account and gives you a private link to see the answer.

Suggest an SDK improvement

Open MADRE in your project.

Download for macOS

For Macs with an M1 chip or later · 53 MB

Other downloads

Back to MADRE