AI in public

AI in public

My 21 Claude Code tips after 1,800 hours.

All 21 tips are free. Plus 3 skills that build your website, your dashboard and your promo video.

Hamza Khalid's avatar
Hamza Khalid
Dec 02, 2026
∙ Paid

I opened Claude Code in its launch week.

I didn’t know what a terminal was.

1,800 hours later, it runs most of our work at AI in Public.

Here’s the rundown:

  • How a non-coder ended up living inside a coding tool.

  • What a Claude Code project looks like, on one cheat sheet.

  • All 21 tips. Free. Each one tested, with a screenshot.

  • The AI in Public Builder Kit at the end: 3 skills that build your website, your dashboard, and your promo video for you.

You don’t need to code for any of this.

(btw.. you opened a newsletter about a coding tool anyway. Brave. I like you already.)

Before we start, 2 small asks:

  • Save this. You’ll want it open next to your first session.

  • Share it with the friend who keeps saying “I should learn Claude Code.” This is their sign.

Share

Already use Claude Code? Skip to Part III. The tips start there.

Not sponsored. Anthropic didn’t pay for this. I pay them every month, actually. Awww.


I. A coding tool, a non-coder, and 1,800 hours

The first hour was the worst.

Anthropic released Claude Code on February 24, 2025. Back then it only lived in the terminal, the black window with the blinking cursor.

I typed claude. The cursor blinked back at me.

I asked it something simple. It asked to read my files.

I said yes. Then I panicked. Then I said yes again. (Very brave of me.)

This is what I saw on day 1. Pretending I knew what a terminal was.

Back then, I just posted about AI tools on X and LinkedIn. I didn’t build much.

My first week, I gave Claude Code tiny jobs. Rename files. Clean a folder. Then I checked every file twice. (Trust issues. Hmmm.)

The jobs got bigger. So did AI in Public.

Today Claude Code does most of our work:

→ My Instagram Reels

→ SizeKit, our image resizer

→ Our Claude skills, including the Travel Kit

→ My design work

→ The website, dashboard and video for this issue

Real work, done in Claude Code yesterday….

Most of the pain sits in the first hour. After that, you’re just talking to it.

I learned most of these 21 tips by breaking something first. Awww……


II. Claude Code in 2 minutes

In a normal chat, Claude gives you an answer, and you copy it somewhere.

In Claude Code, you give it a folder. It reads the files, changes them, makes new ones, and shows you what it did.

I started in the terminal because it was the only way in.

Today there’s an easier one, and it’s where I do most of my work: the Claude desktop app.

  • Open the Claude app and click the Code tab.

  • Click + New.

  • Pick a folder.

  • Type what you want and press Enter.

Code tab, pick a folder, type. That’s the whole setup.

Which plan? Claude Code comes with every paid Claude plan, Pro and up.

I prefer the terminal, like day-one me?

It works there too.

Open the terminal, type claude, link the paid account, and press Enter. It’s simple…

What a Claude Code project looks like

Many of the tips below touch one of these files. Here’s where each one lives:

my-project/
  CLAUDE.md              notes Claude reads every session
  CLAUDE.local.md        your private notes
  .mcp.json              apps you connect
  .claude/
    settings.json        what Claude can and can't touch
    skills/
      weekly-report/
        SKILL.md         a job you run with /weekly-report
    agents/
      reviewer.md        a helper with its own tools
    rules/
      api.md             rules for one part of the project

~/.claude/               the same files, for every project

You only need CLAUDE.md to start.

Add the rest when a tip asks for it.

(Look at you, reading folder trees like a developer.)

III. 21 Tips

1. Give it one folder

Claude Code works inside the folder you pick. It can’t see the rest of your computer unless you allow it.

So don’t open your whole Desktop. (I did once. It found 3 years of screenshots. Hmmm.)

One project, one folder.

One folder in. The rest of my laptop stays out of it…

2. Start in Plan mode

In Plan mode, Claude reads your files and writes a plan. It changes nothing until you say yes.

In the desktop app, pick Plan in the mode selector under the prompt box (or press Cmd+Shift+M, Ctrl+Shift+M on Windows).

In the terminal, press Shift+Tab until you see plan mode.

Read the plan, fix it, then let it build.

It plans first. Nothing changes until I approve.

3. Let it interview you

Don’t know exactly what you want yet?

Paste this as your first message:

I want to build [your idea] but I haven't thought it through yet. Interview me until you could write the plan, then write it to SPEC.md.

Claude asks you multiple-choice questions. You tap the answers. It writes the plan into SPEC.md.

Then open a new session and type: build what’s in SPEC.md.

Answer it what it asks you…

4. Say “be ambitious”

Ask for “a page,” and you get a page. Just the page. Hmmm.

It’s good, but it's not the detailed page…

Want the best one? Then ask for it:

Build the signup page from my sketch. Be ambitious: error messages, the empty state, the phone layout.

The phrase comes from Anthropic’s own best-practices guide.

This one is in detail with a logo on the top and also past issues link…. just with one more word added in prompt.

5. Paste a screenshot

A screenshot explains more than 3 paragraphs.

Drag one into the prompt box, or click + next to it. A page you like. An error you can’t read. (In the terminal, Ctrl+V pastes it.)

Want it to read one file? Type @ and the file name.

One screenshot replaced a whole paragraph of explanation.

6. Talk to it

When you type, you trim. When you talk, you say everything.

This one lives in the terminal. Type /voice once, then hold Space and talk. Let go, and your words land in the prompt.

The transcription doesn’t count toward your Claude usage.

I dictate most of my long prompts now. My keyboard feels a little left out. Awww.

Hold Space, talk for a minute, and the whole brief lands in the prompt.

7. Press Esc when it drifts

Watch the first minute of every task.

Going the wrong way? Press Esc. Claude stops and keeps what it did so far. Then tell it the new direction.

Had a new idea while it works? Type it and press Enter. Claude reads it after the current step.

One key stopped it in the mid task and then the second instruction goes…

8. Press Esc twice to undo

Another terminal one. Press Esc twice on an empty prompt, or type /rewind.

Pick any earlier message. Claude rolls back the files, the chat, or both.

One catch: it only rolls back files Claude changed with its own edit tools. Keep a copy of anything precious.

It goes to the previous message with /rewind or the message you wanna go on….

9. Two wrong tries, then /clear

Claude got it wrong. You corrected it. Wrong again.

Stop there. Every failed try stays in the chat, and Claude keeps reading it.

Start a fresh session with + New (in the terminal, type /clear).

Then write one better prompt with what you learned.

(Anthropic says this too. I just learned it the hard way first.)

/clear cleaned the bad session which was going on…

10. Ask side questions with /btw

Forgot a file name mid-task? Type:

/btw what was the name of that config file again?

The answer pops up on the side.

It never enters the main chat.

You can ask while Claude is still working.

In the desktop app, Cmd+; (Ctrl+; on Windows) opens it too.

It answered my question in the mid-task…

11. Keep CLAUDE.md short

CLAUDE.md is a note Claude reads at the start of every session in that folder.

Type /init and Claude writes the first version. Then delete most of it.

(Yes, you read it right…. delete.)

Keep only what Claude can’t guess from your files: how you name things, the folder it must never touch, and anything you’ve corrected twice.

Anthropic’s guide says to stay under 200 lines.

It’s under 100 lines….

12. Ask for proof

Claude stops when the work looks done.

(Ask anyone who has opened a “finished” spreadsheet.)

So give it a check it can pass or fail:

Rename every file in this folder to date-client-topic. When you finish, list the folder and show me the output so I can check every name.

Building a page or an app? Type /verify when it says it’s finished. Claude runs it and looks at the result.

It showed the proof. I didn’t have to trust “All done!”

13. Turn repeat jobs into skills

Do the same task every week? Do it once with Claude, then say:

Turn what we just did into a skill called {name your skill}, so next week I only type /weekly-report.

Next week, type /{Skill-Name}. Done.

The Travel Kit works this way. So do the 3 skills at the end of this issue.

Explained once. One command runs the whole job now.

14. One task per session

Every message makes Claude re-read the whole chat.

Old tasks cost you on every new one.

Finished a task? Start a new session with + New.

Click on the session name; there you will see a “+” icon; just click on it to start a new session…

In Terminal, type: /clear.

Coming back to it later? Click the session title and give it a name. Next time, click it in the sidebar, or type /resume.

Want to see what’s filling the session? Type /context.

This is what was filling my session.

15. Turn the effort dial

Pick how hard Claude thinks: low, medium, high, xhigh, or max.

In the desktop app, it’s Effort in the model picker (Cmd+Shift+E).

In the terminal, type /effort.

→ Low for renames and quick edits.

→ Medium for most work.

→ High or xhigh for tricky jobs.

→ Max only for your hardest problem, because it costs more.

Need deep thinking for one message? Put the word ultrathink in that prompt.

16. Connect your apps

Claude Code can work with Notion, GitHub, and your other tools.

In the desktop app, click + next to the prompt box and pick Add connectors.

In the terminal, one line adds one:

claude mcp add --transport http notion https://mcp.notion.com/mcp

Manage them in Settings > Connectors. (Terminal: /mcp.)

now, Claude can read and write in my notion

Wallet alert: every connected app loads into every session, even when you don’t use it. Disconnect the ones you don’t need.

17. Lock your secret files

Passwords, API keys, and contracts should stay away from Claude.

A line in CLAUDE.md works most of the time. For passwords, you want every time. Add this to .claude/settings.json:

{
  "permissions": {
    "deny": ["Read(./.env)", "Read(./secrets/**)"]
  }
}

Now Claude can’t read those files. Type /sandbox for an extra lock on what its commands can reach.

I already did it; now it’s your turn…

18. Use hooks for must-do rules

A hook runs every single time, whether Claude remembers or not.

You don’t write it yourself. Ask:

Write a hook that blocks any edits to the /final folder.

My rule: if I’ve told Claude the same thing 3 times and it still slips, it becomes a hook.

Now hook, won’t allow anyone to make edits in my final folder.

19. Get a fresh reviewer

The Claude that wrote the work likes the work. It wrote it. Awww.

For code, type /code-review. A fresh helper checks the changes from scratch.

Not coding? Ask:

Use a subagent to review report.md against brief.md. List anything in the brief that's missing from the report. Skip style.

Keep “skip style”, or you’ll spend an hour on commas.

A fresh pair of eyes caught what the writer missed.

20. Let it work while you sleep

/loop repeats a job on a timer while your session is open:

/loop 15m check the downloads folder and move any new invoice into /invoices

/schedule sets up a task that runs on Anthropic’s servers, even with your laptop closed.

Some mornings I wake up to finished research folders. Hmmm, feels good, right?

Watch the first few runs before you trust it alone.

here are my few scheduled tasks that runs in a loop…

21. Run 3 Claudes at once

In the desktop app, start a new session for each job.

Hold Option (Mac) or Alt (Windows) and click a session to open it side by side.

Same project folder?

Turn on the Worktree button first, so they don’t edit the same files. (It needs Git.)

One writes the newsletter. One builds the cheat sheet. One reviews the first one. I drink tea.

Two Claude Code sessions side by side at the same time…
Save it, you need it in near future…

IV. Your turn

Comment the first job you’d hand Claude Code.

2 things to know

  • You need a paid Claude plan (Pro or higher) for Claude Code.

  • Claude Code changes real files. Start in Plan mode and keep a copy of anything important.


V. Now let Claude Code build for you

You’ve read all 21 tips. For free.

You can steer Claude Code now. The building part still eats your weekend. Hmmm.

So we built 3 skills that do it.

Each one asks you 5 questions, shows you a plan, builds, checks its own work, then asks what to change until you say it’s done.

I tested all 3 on my own business this week:

  • Website Builder made a 6-page AI in Public site in my brand colours. Then a navy theme and a scroll animation when I asked.

  • Dashboard Builder read my Substack and put last week on one screen: +542 new subscribers, with my revenue blurred.

  • Video Builder made a 32-second promo for this issue, with typing sounds and a terminal on every tip.

Don’t take my word for it. Here’s what they built.

The website. Click through all 6 pages:

6 pages, my brand, built from 5 answers only, nothing edited later..

See it live: the AI in Public test website

The video. 32 seconds, made from text:

Typing sounds, a terminal on every tip, my logo at the end.

The dashboard. Blurred where I asked:

It builds a dashboard by fetching live data from my Substack, and it's the same at the time of writing this…

See it live: the weekly dashboard (a public copy with my private numbers taken out)

A paid month costs $15. A year costs $115 ($65 less than paying monthly). Founding members pay $350.

One website pays for the year. The dashboard and the video come with it. Hmmm. That’s a subscription that earns its money.

Cancel any time.

Paid readers get:

  • The 3 Builder skills: Website, Dashboard and Video. One download.

  • A 2-minute install guide. No terminal needed.

  • The edit round: come back any time with edits and keep improving what it built.

  • Every paid kit we’ve built, including the full Travel Kit, and every new one.

User's avatar

Continue reading this post for free, courtesy of Hamza Khalid.

Or purchase a paid subscription.
© 2026 Hamza Khalid · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for writing, podcasting, and media founders.