---
title: "charmbracelet/mods: AI on the command line"
description: "!https://github.com/charmbracelet/mods"
date: 2024-01-26
published: true
tags:
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://github.com/charmbracelet/mods" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://repository-images.githubusercontent.com/github-production-repository-image-32fea6/620999276/03bcf553-9da5-4e59-94c1-52cf06658f92?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20260804%2Fus-east-1%2Fs3%2Faws4_request&amp;X-Amz-Date=20260804T230249Z&amp;X-Amz-Expires=300&amp;X-Amz-Signature=fe4b42fce343470f94c434f7d813e0fa849052e7de11e10dbd0d8725e3949f45&amp;X-Amz-SignedHeaders=host&amp;jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoiaHR0cHM6Ly9yZXBvc2l0b3J5LWltYWdlcy5naXRodWJ1c2VyY29udGVudC5jb20vIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4NTg4NDg2OSwibmJmIjoxNzg1ODg0NTY5LCJwYXRoIjoicmVwb3NpdG9yeS1pbWFnZXMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIn0.erkPNESHDZ1VrMDdmfRMBPCozOvt6ZK5ZUcs31fG1JM" alt="GitHub - charmbracelet/mods: AI on the command line — AI on the command line. Contribute to charmbracelet/mods development by creating an account on GitHub." loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">GitHub - charmbracelet/mods: AI on the command line</div>
      <div class="embed-card-description">AI on the command line. Contribute to charmbracelet/mods development by creating an account on GitHub.</div>
      <div class="embed-card-meta">GitHub &middot; github.com</div>
    </div>
  </a>
</div>


This is a pretty sweet interface into llms.  I used it a bit with my son tonight while he was asking me for datapack ideas.

``` bash
❯ mods -f 'I am trying to have fun on my minecraft server and am creating a minecraft datapack send me some load.mcfuncions that will make it fun'
```

You can continue the conversation with a `-C`

``` bash
❯ mods -C -f 'I like where you are going with number 4, can you make it so that it runs when a player opens a door'
```

```
