# Creght CLI and Skill: Build and Ship Sites from Claude Code or Codex - Creght

> Already using Codex or Claude Code? Install the Creght Skill and your agent can pull, edit, preview, and publish a site — with no server, database, or asset host to configure, plus a visual editor, CMS, auth, and payments.

[![Creght](https://ugc.talizen.com/_assets/site/2061660904709165056/1780797461299__creght_logo.png)](/en.md)

Products

[AI Website BuilderRecommendedBuild websites and web apps through conversation](/en/ai.md) [Visual Website BuilderBuild precisely with a canvas, components, and effects](/en/design.md)

[Compare BothChoose the right creation method for your needs→](/en/ai-vs-visual-builder.md)

Capabilities

[AI generation](/en/ai.md) [Visual editing](/en/features/visual-editing.md) [Backend](/en/features/backend.md) [Publishing & hosting](/en/features/publishing.md) [SEO, GEO & analytics](/en/features/analytics.md) [Creght CLI](/en/features/cli.md) [All capabilities →](/en/features.md)

Solutions

[Designer Portfolio](/en/solution/designer-portfolio.md) [Foreign Trade Website](/en/solution/foreign-trade-website.md)

[Pricing](/en/price.md) [Help Center](/en/help.md)

[Resources](/en/resources.md)

Creght AI·Website Resources

[Website TemplatesStart from a complete website](/en/templates.md) [Page SectionsHero, pricing, case studies, and more](/en/blocks.md) [Motion InspirationDiscover reusable interaction effects](/en/effects.md)

[Browse all resources](/en/resources.md) [Visual Builder Resources](/en/design/resources.md)

[Contact Us](/en/contact.md)

[Get Started](https://creght.cn/project)

[Home](/en.md)/Capabilities/Creght CLI

# You already have an agent. What's missing is somewhere to ship.

The Creght Skill lets Codex, Claude Code, and Cursor build Creght sites directly: pull the source, edit, preview, publish — one chain, start to finish. No server, database, or asset host to set up.

[Build your site free](https://creght.cn/project?source=features_cli) [Install the Skill](/en/docs/ai/creght-skill.md)

Direct answer

## What are the Creght CLI and Skill for?

The CLI pulls a site's source (including Func backend code) into a local workspace, pushes local changes back with three-way merge and conflict resolution, and can open previews, publish, manage versions, read and write CMS content, forms, and data tables, and upload static assets. The Creght Skill is the instruction set an agent reads, so Codex, Claude Code, OpenClaw, or Cursor can work on a Creght project directly.

If you already work through an agent, the value is the infrastructure you skip: no server or certificate to buy and configure (publishing is hosting), no database to stand up (projects ship with JSON data tables), no asset host to wire (creght upload returns a usable URL). You also get an interface your non-technical colleagues can use: the visual editor, CMS, auth, and payments.

The problem

## Your agent can write the code. Then what?

Getting an agent to generate a site is the easy part. Where it runs, where the data lives, where images go, and who maintains the content afterwards are the rest.

| Without Creght | With Creght |
| --- | --- |
| The agent finishes, and you still buy a server and configure Nginx and TLS. | creght push to preview, creght publish to go live. Certificates are automatic. |
| Storing data means a database, a connection string, and migrations. | Projects ship with JSON data tables that Func reads and writes. |
| Images need object storage, bucket policy, and a CDN. | creght upload returns a usable URL right away. |
| After launch, every copy change comes back to you. | The same site has a visual editor and CMS your colleagues can use. |

How it works

## What you actually get

01

### Build inside your own agent

creght pull brings the site source — including Func backend code — into a local workspace for the agent to edit. creght diff shows what changed, creght push sends it back with three-way merge, and creght resolve handles conflicts. The Skill works in Codex, Claude Code, OpenClaw, and Cursor.

claude code · ~/projects/my-site

›Rework the pricing section into three tiers and publish

creght pull→ 24 files

edit page/Index.tsx→ pricing updated

creght diff→ 1 change

creght push→ pushed to preview

✓ Preview updated — run creght publish when it looks right

Pull, edit, diff, and push all happen inside your own agent session.

02

### No server, database, or asset host to configure

Pushing is hosting, and the platform issues the HTTPS certificate. Projects ship with JSON data tables managed through creght table. Static assets go up with creght upload, which returns a usable URL. Three pieces of infrastructure you no longer buy or maintain.

Three things you don't configure

Buy a server · configure Nginx · request a cert→creght publish

Pushing is hosting; the platform issues and renews HTTPS.

Stand up a database · connection string · migrations→creght table

Projects ship with JSON data tables Func reads and writes.

Object storage · bucket policy · CDN→creght upload

Upload a local file and get a usable URL back.

03

### Auth and payments are already there

Site users, email login, and Google and GitHub OAuth are runtime resources of the site; Alipay web payments have a full guide; forms and Func backend logic are manageable from the CLI too. What you skip is not only deployment but the parts you would otherwise rewrite every time.

/backend/func/checkout.ts

```
export async function pay(input, ctx) {
  const user = ctx.auth.requireUser()
  const order = await ctx.db.insert('orders', {
    userId: user.id, amount: input.amount,
  })
  return buildAlipayUrl(order)
}
```

The signed-in user comes from ctx.auth, the order goes into ctx.db, and the Alipay signature is built inside Func — no service to stand up.

04

### Beyond code, an interface for your team

The same site has a visual editor and a CMS: you write structure in the agent, colleagues change copy and content in the browser. Version history can even be used as a read-only git remote (creght git).

You, in the agent

› creght push

→ pushed to preview, 3 files

Your team, in the browser

CMS · blogsNew

August product updatePublished10 min ago

Case study: MeissnerDraftYesterday

One site: you push code, your team edits content in the CMS — neither blocks the other.

Related docs

## Step-by-step guides

[Creght Skill guide→](/en/docs/ai/creght-skill.md) [Backend and data tables→](/en/docs/ai/backend-database-guide.md) [Connect a custom domain→](/en/docs/ai/custom-domain.md)

## Plug Creght into your agent.

Install the Skill and let Codex or Claude Code pull, edit, and publish your site.

[Build your site free](https://creght.cn/project?source=features_cli) [Install the Skill](/en/docs/ai/creght-skill.md)

![Creght](https://ugc.talizen.com/_assets/site/2061660904709165056/1780797461299__creght_logo.png)

This website is built with [Creght](/en.md)

![WeChat Support](https://fsu.creght.com/site/2066727200882692096/1785119134612__image.png)

WeChat Support

## Links

- [Pricing](/en/price.md)
- [Solutions](/en/solution.md)
- [Customers](/en/customers.md)
- [Help Center](/en/help.md)
- [Contact Us](/en/contact.md)
- [Update Logs & Blogs](/en/blogs.md)
- [Refund Policy](/en/tuikuan.md)

## Resources

- [All Resources](/en/resources.md)
- [Templates](/en/templates.md)
- [Components](https://creghtlib.site.creght.com)
- [Animations](/en/design/effects.md)
- [Figma to Creght](/en/figma2creght.md)
- [API for AI](/en/api.md)

## Comparisons

- [vs Shianxianle](/en/creght-vs-sxl.md)
- [vs Fanke](/en/creght-vs-fkw.md)
- [自己写代码 vs Creght](/en/compare/self-coding.md)
- [外包 vs 自己做](/en/compare/outsourcing.md)

## Terms

- [Terms of Service](/en/legal/terms.md)
- [Privacy Policy](/en/legal/privacy.md)
- [Acceptable Use Policy](/en/legal/acceptable-use.md)

## Social Media

- [Xiaohongshu](https://www.xiaohongshu.com/user/profile/5a38606811be10715f4895b6)
- [Bilibili](https://space.bilibili.com/513308095)

[蜀ICP备2023038192号-2](https://beian.miit.gov.cn)
