Build a Local Business Website with Claude Code or Codex
Back to Blog

How to Build a Local Business Website with Claude Code or Codex

Copy one skill file, give your agent a clear business brief, and build a complete WordPress site. Follow the setup, build prompts, and launch checks.

Bennett Black

Bennett Black

September 17, 2026|14 min read

1ClickWebsite guide: Local Business Websites with Claude Code or Codex. Copy the skill. Build your site.

The fast way to build a local business website

To build a local business website with Claude Code or Codex, copy the 1ClickWebsite skill file, connect your 1ClickWebsite API key, and give your agent a clear business brief. The agent can then create a complete WordPress site through 1ClickWebsite and help you refine it before launch.

This is the workflow I recommend for a plumber, landscaper, cleaner, contractor, or other local business that needs a useful website quickly. You get the initial site built in one process, then spend your time checking the business information, improving the important pages, and making it easy for customers to contact you.

The skill is a Markdown instruction file. You can open it and copy the entire file, or save it into your agent's skills folder with the commands below. You do not need to build your own integration or ask the agent to assemble a website stack from scratch.

Here is the process:

  1. Gather the business facts and choose the site's main goal.
  2. Copy the 1ClickWebsite skill into Claude Code or Codex.
  3. Generate the complete WordPress site from one brief.
  4. Review the preview and refine the service pages.
  5. Check contact forms, mobile design, and search settings.
  6. Connect your domain and launch.
  7. Keep the site accurate as the business changes.

Building the site quickly is the starting point. A working inquiry process, useful content, and ongoing local SEO turn that starting point into something that can help the business.

What you are building

For most local service businesses, a good first website answers four questions: what do you do, where do you work, why should someone choose you, and how do they get in touch?

You usually need a homepage, an about page, a contact page, and dedicated pages for your main services. Add service-area or location pages when there is useful information to explain about those places. A shop with visiting customers also needs a clear public address and opening hours.

For this tutorial, use Full Site Creation in the 1ClickWebsite skill. That creates a complete WordPress website. The separate Lead Gen flow is for lightweight prospect mini-sites; it serves a different purpose.

Part of the workflowWhat it does
Claude Code or CodexReads your brief, follows the skill, and helps with changes
1ClickWebsiteGenerates the complete WordPress site
WordPressGives the business a familiar place to manage its website
Your domain and production hostingPut the finished site at the business's public address
Search Console and inquiry trackingHelp you measure search visibility and customer inquiries

The site creation API is available on every 1ClickWebsite plan. A standard accepted full-site build uses one normal site credit. Your Claude Code or Codex access and production hosting are separate parts of the setup; review the current 1ClickWebsite plans for what you need.

1. Prepare a useful business brief

A precise brief saves more time than asking for repeated redesigns. Start with the facts customers need to make a decision.

  • The real business name, phone number, and inquiry email.
  • Main services and the work you do not offer.
  • Cities or neighborhoods you actually serve.
  • A public address, if customers visit you.
  • Opening hours and the preferred contact method.
  • A short description of how you work and who you serve.
  • Your logo, colors, and approved work photos, if available.
  • Supported qualifications, testimonials, or other evidence you want to show.

Choose one primary action: call, request a quote, book an appointment, or visit the business. A local electrician may want phone calls; a landscape designer may prefer a project inquiry with photos. Make that choice explicit so the homepage and service pages point customers in the same direction.

If you travel to customers and your street address should stay private, say so. The creation API supports a service-area business without displaying its street address. If hours are not confirmed, ask the agent to omit them until you provide the correct schedule.

You can have the agent organize your notes before building:

Help me prepare a website brief for my local business.

Business: [name]
Industry: [industry]
Main services: [services]
Service area: [cities or neighborhoods]
Primary website goal: [calls / quote requests / bookings]
Contact details: [phone and email]
Public address: [address, or do not display a street address]
Hours: [confirmed hours, or do not display yet]
Brand assets: [logo, colors, approved photos]
About the business: [verified notes]

Suggest a simple page plan. List missing facts that affect the build.
Keep claims supported by my notes. Do not invent reviews, prices,
licenses, emergency availability, or response times.

Approve the page plan and resolve the important gaps. You do not need a long brand strategy to begin, but you do need accurate contact details and a clear service list.

2. Copy the skill into Claude Code or Codex

The public 1ClickWebsite skill contains the creation workflow, build-status checks, and instructions for editing a finished site. Save the full file, including the metadata at the top.

Install the skill in Claude Code

From your project folder, run:

mkdir -p .claude/skills/oneclickwebsite-api
curl --fail --location https://www.1clickwebsite.ai/ai-agent-guide \
  --output .claude/skills/oneclickwebsite-api/SKILL.md

Claude Code supports project skills at this path. Invoke it with:

/oneclickwebsite-api

You can instead save it under ~/.claude/skills/oneclickwebsite-api/SKILL.md to use it across local projects. These locations and slash-command invocation follow Claude Code's official skills documentation.

Install the skill in Codex

From your project folder, run:

mkdir -p .agents/skills/oneclickwebsite-api
curl --fail --location https://www.1clickwebsite.ai/ai-agent-guide \
  --output .agents/skills/oneclickwebsite-api/SKILL.md

In Codex CLI or the IDE extension, mention it with:

$oneclickwebsite-api

The personal location is ~/.agents/skills/oneclickwebsite-api/SKILL.md. Codex discovers skills in these folders; if the new skill does not appear, restart the session. See OpenAI's official skill setup guide.

If you prefer a one-off setup, open the skill link and paste the complete instructions into your agent conversation. Saving it as a skill makes the workflow easier to reuse for the next website.

Connect your 1ClickWebsite account

Create an API key on the API Keys page. Make it available to your agent through a trusted local environment or the credential setup you already use. Keep the real key out of public files and the website's frontend.

Then tell the agent:

Read the oneclickwebsite-api skill and confirm that you can use the
Full Site Creation workflow with my configured 1ClickWebsite API key.
Do not print the key. First prepare the request from my business brief.

Use the www.1clickwebsite.ai hostname for API requests, as the skill specifies. The skill already explains the request format and authentication; you do not need to write those instructions again.

3. Generate the complete WordPress site

Once the brief is ready, ask your agent to use it for the build. This prompt is a starting template; replace the brackets with your business information.

Use the oneclickwebsite-api skill to create a complete WordPress
website through Full Site Creation for this local business.

Business name: [real name]
Industry: [industry]
About: [verified description and differentiators]
Services: [confirmed main services]
Service areas: [confirmed cities or neighborhoods]
Customer model: [customers visit us / we travel to them / both]
Public address: [confirmed address, or do not display a street address]
Phone: [phone]
Email: [inquiry email]
Hours: [confirmed schedule, or do not display]
Primary action: [call / request a quote / book]
Logo: [approved public asset URL, if available]
Colors and style: [preferences]
Language: [supported language]

Use the current public V2 template from the skill. Create pages for
the main services. Use only the service areas in my brief.
Keep the site clear, readable on mobile, and easy to contact.
Use my supplied photos where appropriate. Flag any generated images
that I should replace with real project photos before launch.

Submit one build, save the returned site ID and status URL, and poll
that build until it is complete or reports a failure. Do not submit
another build just because the preview is not ready yet.
Return the preview URL, build status, and any warnings or missing assets.

The build runs asynchronously. An accepted request means it has started; a preview appearing does not necessarily mean all content and images are finished. Have the agent follow the returned status URL and check the final result.

If it reports a failure, inspect that existing build and its error before creating another. Keep the site ID so you can return to the same project.

You can also create the initial site through the 1ClickWebsite builder. The skill is useful when you want your agent to coordinate the build and subsequent work from one conversation.

4. Review the preview and improve the important pages

Open the site yourself. Begin with the customer journey: can a visitor understand the offer, find the right service, and contact the business?

Check the homepage's first screen for the business name, a clear description of the work, the service area, and the main action. Replace vague copy such as “quality solutions for all your needs” with the actual service and customer problem.

A useful service page explains what the service includes, who it suits, how the work usually proceeds, and what the customer should provide when requesting a quote. Give each major service its own content rather than repeating the homepage with a different heading.

For example, a fence contractor's repair page should help someone understand repair options and describe the damage when contacting the business. Its installation page should explain the installation process and the information needed to discuss a new fence. These are different customer needs.

Connect your agent to edit the finished site

Creating the site uses your 1ClickWebsite account key. Editing the WordPress site uses its own access details: the site URL, WordPress username, and a WordPress Application Password.

Follow the guide to connecting your own AI agent for site editing. The same skill explains how to inspect the site's editing interfaces and make changes.

Ask the agent to read the existing content and supported fields before writing. Give it a specific task:

Use the oneclickwebsite-api skill and my configured WordPress access
to review this site's homepage and main service pages.

Read the current content and editing schema first.
Improve clarity using these verified business notes: [notes].
Make each service page explain its scope, process, and next step.
Keep the confirmed phone, email, hours, and service coverage accurate.
Preserve the existing design unless a change is needed for readability.

After editing, clear the relevant cache and inspect the public pages.
Check the mobile view and report the pages and fields changed.

Real work photos and specific business information are valuable finishing touches. If an image is an illustration, use it accordingly; do not describe an AI-generated scene as a completed customer project.

5. Check local SEO, mobile design, and inquiries

The initial build gives you pages to work with. Before launch, check that those pages are useful, accessible, and connected to a working contact process.

Give each main page a clear search purpose

Choose a primary topic for each important page. The homepage might introduce the business and its core service in the main city. A dedicated service page should explain that service in detail. Use clear titles, headings, and links that help visitors move between them.

Ask your agent to review search metadata as well as visible content. On supported 1ClickWebsite sites, the skill documents Slim SEO title and description editing through OCF. Have the agent read the current metadata, update only the intended fields, clear cache, and verify the rendered public page source.

Do not assume that adding a city to a heading will make the page rank. Google's SEO Starter Guide explains the basics of making content easier to discover and understand, while noting that there is no guarantee of indexing or a particular position.

Add useful service-area information

List places the business actually serves. Create additional area pages when you have something useful to explain, such as coverage, scheduling, available services, or approved local projects. A long set of pages with only the city name changed gives visitors little new information.

Keep the business identity and contact details consistent across the site and the business's existing listings. If the business has an eligible Google Business Profile, update its website link to the final domain after launch.

Test the site as a customer

Use this checklist before calling the website ready:

CheckWhat to verify
Phone linksTap the button on a phone and confirm the number
Contact formsSubmit a test and confirm it reaches the intended inbox or system
Booking linksFollow the link and complete the intended next step
Mobile layoutRead the heading, open navigation, and use the main action on a small screen
ImagesCheck cropping, loading, descriptive alt text, and relevant photos
ContentConfirm services, coverage, address visibility, hours, and supported claims
Search settingsInspect titles, descriptions, canonical URLs, and indexability
NavigationOpen important pages and check for missing pages or broken links

A form displaying a success message is only part of the test. Confirm that the business receives the inquiry and knows how to respond to it.

For an existing website replacement, also list valuable old URLs and plan redirects before switching domains. Preserve pages customers or search engines already use when their content still belongs on the new site.

6. Connect your domain and launch

The preview is where you review the build. The finished business website should use a domain the business controls and production hosting configured for that domain.

In the 1ClickWebsite site's dashboard, open the hosting flow. Depending on the account and hosting status, the action is labeled Buy Hosting, Manage Hosting, or Connect Domain. Follow the setup for that specific site and copy the DNS records it provides into your domain provider.

Use the records shown in the current setup, rather than copying an IP address from another project's tutorial. Leave existing email records in place unless you are intentionally changing the business's email service.

Wait for domain verification and SSL setup, then open the final HTTPS address. Recheck navigation, images, forms, booking links, and phone links there. A working preview does not replace testing the production domain.

After launch, add the final site to Google Search Console, submit its sitemap, and inspect the important URLs. Update the business's existing website links and begin measuring inquiries. Search Console helps you see indexing and search performance; it does not make a new site rank instantly.

If you are building for a client, send them the final URL, ownership and access details, the inquiry destination, and a short explanation of how future edits will be handled. Make sure the person answering calls and forms knows the site is live.

7. Use your agent for ongoing website changes

Once the site is live, keep using the same skill for specific updates. It is useful for changing hours, adding a confirmed service, replacing photos, refining page content, and adjusting search metadata.

Small, precise requests are easier to review than asking the agent to “make everything better.” For example:

Update our site's opening hours to [confirmed schedule].
Find the places where hours are displayed, including the contact page
and relevant site fields. Read the current values first.
Use the editing methods supported by this site's schema.
Clear cache, verify the public pages, and report what changed.

Keep access credentials in your trusted environment, and review visible changes before a promotion or campaign sends traffic to the page.

As search data comes in, improve pages around real customer questions and the services that bring useful inquiries. Measure calls, forms, and bookings alongside clicks. A site that attracts traffic still needs to help the right customers take the next step.

Agencies can reuse this process for the next client: collect verified facts, install the skill once, build the site, refine it, and complete the same launch checks. For the sales side, see our guide to selling websites to small businesses.

Frequently asked questions

Can Claude Code or Codex build a local business website?

Yes. With the 1ClickWebsite skill and an account API key, either agent can follow the full-site creation workflow. 1ClickWebsite generates the WordPress site, and the agent helps coordinate the build and subsequent changes.

Do I need to know how to code?

You do not need to write the website's code for this workflow. You do need to install or paste the skill, connect your account, provide accurate business information, and review the finished pages. If you are unfamiliar with local tools, have your agent walk you through the setup.

Is it a WordPress website or a static mockup?

Full Site Creation generates a complete WordPress site. Select that workflow for a business website; the skill's separate Lead Gen flow produces prospect mini-sites.

Can I edit the website after it is built?

Yes. Connect the agent using the site's WordPress username and Application Password, then use the skill's editing workflow. You can also manage the site through WordPress. The account API key used to create the site is a separate credential.

How long does it take?

The initial build is automated, so you can reach a reviewable site quickly. The time to launch also depends on how complete your brief is, the changes you want, and domain and hosting setup. Use the build's final status rather than a fixed time estimate to decide when the preview is ready for review.

Will the site rank on Google automatically?

Building and publishing it does not guarantee rankings. Useful service content, accurate business details, crawlable pages, local reputation, and continued improvements all matter. Start with a sound site, then measure and improve it.

Is this the same as building a rank and rent site?

This guide is for a real business's own website. A rank and rent project has a different ownership and lead arrangement. For that workflow, read how to build rank and rent sites with Claude Code or Codex.

Start with the skill file

The quickest way into this workflow is to copy the 1ClickWebsite skill, connect your account, and give Claude Code or Codex a clear business brief.

Build the complete site, review the pages customers need, and test the inquiry process before launch. That gets you from a conversation with your agent to a business website you can actually use.