mamitsu for Codex
Ask Codex to turn a YouTube video into data for your app
With mamitsu connected, Codex can read social videos while it builds. Give it a link and the JSON Schema your app expects, and it gets back data in that shape, ready for a seed file or a test fixture.
Let your agent connect to mamitsu
Send Codex one message and it installs mamitsu for you.
Open Codex and send it this message
Sign in when Codex opens mamitsu
Continue with Google or GitHub and approve the connection. Codex then tells you mamitsu is ready.
Seed data for a travel app from a Lisbon guide
Codex sent this YouTube guide with a schema that fixes the fields and the list of categories, so every place comes back with the same four fields.
You ask Codex
Seed data for a travel app: every place this video recommends in Lisbon, in the order it appears, with its neighbourhood, its category and one line on what to do there.
{
"type": "object",
"properties": {
"city": {
"type": "string"
},
"places": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"neighborhood": {
"type": [
"string",
"null"
]
},
"category": {
"type": "string",
"enum": [
"sight",
"viewpoint",
"food",
"drink",
"museum",
"neighborhood",
"shop",
"day_trip",
"other"
]
},
"what_to_do": {
"type": "string"
}
},
"required": [
"name",
"neighborhood",
"category",
"what_to_do"
],
"additionalProperties": false
}
}
},
"required": [
"city",
"places"
],
"additionalProperties": false
}mamitsu returns
{ "city": "Lisbon", "places": [ { "name": "Praca do Comercio", "neighborhood": "Baixa", "category": "sight", "what_to_do": "Walk through the grand square and admire the architecture." }, { "name": "Rua Augusta Arch", "neighborhood": "Baixa", "category": "sight", "what_to_do": "Climb to the top for sweeping views across the square." }, … ] }
See the full JSON
{
"extraction_id": "ext_410bb86c-c7c5-4f9f-9784-75359fffa5e0",
"data": {
"city": "Lisbon",
"places": [
{
"name": "Praca do Comercio",
"neighborhood": "Baixa",
"category": "sight",
"what_to_do": "Walk through the grand square and admire the architecture."
},
{
"name": "Rua Augusta Arch",
"neighborhood": "Baixa",
"category": "sight",
"what_to_do": "Climb to the top for sweeping views across the square."
},
{
"name": "Rua Augusta",
"neighborhood": "Baixa",
"category": "shop",
"what_to_do": "Go shopping on one of Europe's great shopping streets."
},
{
"name": "Rossio Square",
"neighborhood": "Baixa",
"category": "sight",
"what_to_do": "Admire the iconic black and white cobblestones, fountains, and statues."
},
{
"name": "O Mundo Fantastico da Sardinha Portuguesa",
"neighborhood": "Baixa",
"category": "shop",
"what_to_do": "Browse the unique sardine-themed shop."
},
{
"name": "Santa Justa Elevator",
"neighborhood": "Baixa",
"category": "sight",
"what_to_do": "Ride the historic elevator to get to the next neighborhood."
},
{
"name": "Carmo Convent",
"neighborhood": "Chiado",
"category": "sight",
"what_to_do": "Visit the skeletal arches of this historic landmark."
},
{
"name": "Rua Garrett",
"neighborhood": "Chiado",
"category": "shop",
"what_to_do": "Explore boutiques and heritage shops."
},
{
"name": "A Brasileira",
"neighborhood": "Chiado",
"category": "drink",
"what_to_do": "Enjoy Portuguese tarts and cappuccinos at this iconic cafe."
},
{
"name": "Miradouro de Sao Pedro de Alcantara",
"neighborhood": "Bairro Alto",
"category": "viewpoint",
"what_to_do": "Take in the postcard-perfect views over Lisbon."
},
{
"name": "Alfama",
"neighborhood": "Alfama",
"category": "neighborhood",
"what_to_do": "Wander through the maze of narrow cobbled streets and steep inclines."
},
{
"name": "Lisbon Cathedral",
"neighborhood": "Alfama",
"category": "sight",
"what_to_do": "Explore the historic cathedral that has watched Lisbon rise, fall, and rebuild."
},
{
"name": "Miradouro de Santa Luzia",
"neighborhood": "Alfama",
"category": "viewpoint",
"what_to_do": "Enjoy the views across Alfama's jumble of rooftops."
},
{
"name": "Castelo de Sao Jorge",
"neighborhood": "Alfama",
"category": "sight",
"what_to_do": "Visit the crown jewel of Alfama and spot every Lisbon neighborhood from above."
},
{
"name": "Bifanas do Afonso",
"neighborhood": "Alfama",
"category": "food",
"what_to_do": "Eat a warm, garlic-infused pork sandwich."
},
{
"name": "Fado House",
"neighborhood": "Alfama",
"category": "food",
"what_to_do": "Enjoy a traditional meal while listening to Fado music."
},
{
"name": "LX Factory",
"neighborhood": "Alcantara",
"category": "other",
"what_to_do": "Explore this former industrial complex turned creative village."
},
{
"name": "Ler Devagar",
"neighborhood": "Alcantara",
"category": "shop",
"what_to_do": "Browse books in this old printing house turned bookstore."
},
{
"name": "LX Market",
"neighborhood": "Alcantara",
"category": "shop",
"what_to_do": "Shop for crafts, clothing, and creations on Sundays."
},
{
"name": "Jeronimos Monastery",
"neighborhood": "Belem",
"category": "sight",
"what_to_do": "Admire the intricate detail of this 16th-century monastery."
},
{
"name": "Pasteis de Belem",
"neighborhood": "Belem",
"category": "food",
"what_to_do": "Try the freshly baked custard tarts at their birthplace."
},
{
"name": "Monument to the Discoveries",
"neighborhood": "Belem",
"category": "sight",
"what_to_do": "See the statues of Portugal's greatest seafarers, artists, and scientists."
},
{
"name": "Belem Tower",
"neighborhood": "Belem",
"category": "sight",
"what_to_do": "Visit this former gateway to the city and popular landmark."
}
]
},
"source": {
"provider": "youtube",
"url": "https://www.youtube.com/watch?v=utgbGMpZndw"
}
}Set up Codex yourself
The same steps as the MCP guide, for Codex.
Install the plugin
codex plugin marketplace add usemamitsu/agent-plugins && codex plugin add mamitsu@mamitsu && codex mcp login mamitsuOnly the MCP server
codex mcp add mamitsu --url https://usemamitsu.com/mcp && codex mcp login mamitsuOnly the skills
npx skills add usemamitsu/agent-plugins -a codexQuestions about mamitsu in Codex
How does Codex sign in to mamitsu?
The install command ends with codex mcp login mamitsu, which opens mamitsu in your browser. Sign in and approve the connection, and Codex can call the extract tool.
Can I add only the MCP server to Codex?
Yes. Run codex mcp add mamitsu --url https://usemamitsu.com/mcp && codex mcp login mamitsu. Add the skills on their own with npx skills add usemamitsu/agent-plugins -a codex.
Can Codex send my own JSON Schema?
Yes. The extract tool takes an optional schema, the same field as the API, so Codex asks for data in the exact shape your code reads.