Skip to content
Filament plugin

Ghostwriter for Filament

Ghostwriter doesn’t only write the words: it fits them into your layouts. It learns each resource’s Builder blocks, their order and your house style from your own records, then drafts new records into them in your app’s voice, and edits existing ones, in a panel beside the resource form. It works with whatever your forms already use: text inputs, rich and markdown editors, selects and toggles, Builder page builders and Repeaters.

Filament 5.8 or later on Laravel 12 or 13 · PHP 8.3 or later
Version 1.2.0, released 16 October 2026 · What’s new

An animation of writing a new Filament record with Ghostwriter. The panel opens over the form and Ghostwriter asks: “What’s it called, and what should it say? A line or two is plenty.” You answer, and a brief appears in the conversation with Looks right, start writing and Try again. Ghostwriter writes the draft block by block, in the layout the site’s pages already use (a Hero, a Button, an Image), and Use this draft fills the form with three gaps marked for you to finish.

Drafts that fit your layouts

Ghostwriter learns each resource’s layout from the records already there: which Builder blocks a record uses, in what order, and the settings your records agree on. Write with Ghostwriter on a Create page opens a panel over the form. Ghostwriter asks what it’s called and what it should say, fills in the brief in the conversation for you to check, then drafts block by block, and you ask for changes in conversation. Use this draft fills the form, and can set a new record to unpublished. Nothing is saved for you.

An animation of the content plan in Filament. Ask what is missing reads the site and the plan, Ghostwriter suggests three pages the site doesn’t have yet, they’re added to the plan, and Draft this opens one as a new record.

A plan for what to write next

Ideas based on what each resource already has and what it lacks. Draft this opens any idea as a new record with Ghostwriter beside it, the brief already filled in.

An animation of finding an image for a Filament record. Find a photo shows free-library photos ranked against the page and the image style, with the best match marked. Make one draws a new image in the site’s image style, and Use this puts it in the field with alt text.

Images that match the page

A Ghostwriter button sits on image upload fields. It finds photos in free libraries that match the images already used there, or makes a new one in that style, and saves it to the field’s own disk.

An animation of the voice guide in Filament. Ghostwriter reads 19 published entries, then writes how the site sounds: who is speaking, to whom, and the words it uses and never uses.

A guide to how the app sounds

Ghostwriter reads a sample of your published records and writes down who is talking and to whom, how pieces are shaped, and the words you use and the ones you never do. Edit it by hand or ask for changes.

An animation of Finish this page on a Filament record. Three fields are highlighted and the count says 3 things to finish. The guide, with the Ghostwriter mark, asks: “I left a gap in Text: how long a typical visit lasts. Only you know this. What should it say?” You type “About two hours” and the field turns green. Then the button gets a link to the Contact page, a photo goes into the image field, the count reaches nothing to finish, and the record is saved, ready to publish.

Finish this page

Ghostwriter never invents facts. Where a draft needs something only you know, such as a price, a date, a quote, where a link goes or a photo, it leaves a marked gap. A count says what’s left, the fields are highlighted, inside Builder and Repeater items too, and a guide with the Ghostwriter mark takes you to each one. A record can’t be saved as live until they’re filled, or it warns you, as you choose.

An animation of stock photos on a Filament record. Find a photo searches Shutterstock, and Insert preview puts a watermarked preview in the image field, marked “Preview · not licensed”, with a License button. License asks you to confirm: “Uses 1 of your 750 downloads”. License & replace swaps in the full image, the watermark goes, and the field is marked “Licensed · Shutterstock”.

Stock photos, licensed by you

Search Shutterstock beside the free libraries (it needs a Shutterstock API plan); Getty Images and iStock are coming. Insert a watermarked preview that only people who use Ghostwriter in the panel see, then License & replace through your own account writes the full image over it, keeping its alt text. A record can’t be saved as live holding a preview, or it warns you, and the Stock images page keeps a record of every licence.

How it fits Filament

Any resource
Text inputs, rich and markdown editors, selects and toggles, Builder page builders and Repeaters. It reads each resource’s form and the records already there.
Your forms
Use this draft fills the form for you to check and save. A field macro, ->ghostwriter(false), leaves a field alone, and ->ghostwriterHint() gives the writer a note. ->unpublishWith() starts new records unpublished.
Permissions
Two gate abilities, useGhostwriter and manageGhostwriter, set in one line with ->canManage(), and ->canLicense() for who may license stock photos. Writing into a record still needs the resource’s own policy.
Publishing
->publishedWhen() tells Ghostwriter what live means for your records, so one holding a gap or an unlicensed stock preview can’t be saved as live.
Teams (tenancy)
Works on panels with teams. Each tenant gets its own voice, kinds, plan and pieces, and its own OpenRouter connection, and Ghostwriter only reads that tenant’s records.
The queue
Every model call runs as a job, on the queue you choose. Guides, kinds, the plan and conversations are kept in your database, in ghostwriter_ tables, with the record of stock licences. Laravel’s scheduler runs a daily stock cleanup.
Your choice of model
Claude, ChatGPT or Gemini, with your own key, or all three through one OpenRouter account: Connect with OpenRouter signs you in, with no key to create, and it’s paid from OpenRouter credit. Your keys stay on your site. Ghostwriter sends them only to the provider you chose, never to us.

$149 then $99 a year

One licence per site, bought and managed through Anystack. You install it from Anystack’s Composer repository with your licence key.