Skip to main content

Research a target account with Claude Code

In this tutorial you will use the Landbase Claude Code plugin to research a target account in multiple steps — finding the company, finding relevant contacts, enriching them with email and phone data, and saving the results. By the end you will have experienced a full prospecting loop driven by natural language inside your editor. What you will need:
  • landbase-cli installed and authenticated
  • Claude Code installed
  • The Landbase Claude Code plugin set up (run landbase-cli config permissions --yes to configure it)

1. Open Claude Code and run the Landbase setup command

In your terminal, run:
Then inside Claude Code, type:
This slash command verifies your landbase-cli installation and authentication, and confirms the plugin is ready. You will see output like:

2. Find your target company

Ask Claude:
Claude will call:
And return structured data including the company’s website, industry, employee count, and headquarters. Note the company domain from the result — you will use it in the next step.

3. Find decision-makers at that company

Now ask:
Claude will run:
Using a named session (acme-research) means all follow-up prompts in this conversation will continue the same research thread.

4. Narrow the list

Ask a follow-up:
Because the session is active, Claude sends:
This continues from the previous results rather than starting over.

5. Enrich with email and phone

Ask:
Claude will call:
Results are saved to a new file. This step may take a minute or two for the enrichment batch to complete.

6. Review and export

Ask:
Claude will publish and download the dataset:
Open acme-final.csv to see your completed prospect list with names, titles, emails, and phone numbers.

What you learned

  • The /landbase-cli:setup command verifies your environment inside Claude Code
  • Named sessions let you refine searches iteratively without losing context
  • Claude can chain multiple CLI commands naturally in response to plain-English instructions
  • The full prospecting loop (find company → find contacts → narrow → enrich → export) runs entirely from your editor
Next step: See Use sessions to continue research across runs for a deeper look at how session state persists between terminal commands and Claude Code conversations.