Claude Code

Begins (topic)

Last updated 2026-08-01

What's new

2026-08-01
  • Anthropic (the company behind the AI model) released a guide for Opus 5, their newest AI model, which tells you to simplify your prompts (the instructions you give the AI) by removing certain lines.
  • The guide suggests giving Opus 5 the entire task at once, rather than breaking it into steps, as this newer model works better with complete instructions.
  • It's important to clearly state what the AI should not do, to avoid it adding unnecessary work or content, which could waste your time and usage limits (the amount of data you can use with the AI).
  • When the AI finishes a task, it will tell you about it, but you should set limits on how much it can write in its reply and in the actual task it's completing.
2026-07-31
  • Morgan Stanley has developed an "auto research agent" (a computer program that automates research tasks) to improve financial predictions using AI models like Opus 4.5 and Claude Code.
  • This agent can handle tasks from start to finish, like analyzing data, creating tests, and running experiments, all based on simple instructions in plain language.
  • The system is designed to work with various AI models and improve as those models get better, aiming to maximize profits and integrate smoothly with existing tools.
  • They've released a first version called Alpha Lab 1.0, with all code open-sourced on GitHub, and are now working on improvements based on initial results and failures.
2026-07-28
  • Claude Opus 5 (a new AI model) can create detailed, professional spreadsheets in Excel, like turning Nvidia's annual report into a financial model with forecasts and charts.
  • A free AI agents cheat sheet from HubSpot and Futuredia helps beginners choose and use AI agents (automated AI tools) for tasks like competitor research or organizing files.
  • To use Claude (an AI model) with Excel, install the Claude extension (a small program that adds features) to let Claude control and edit your spreadsheet.
  • Claude can also search the internet for information, like rumors about the Anthropic IPO (when a company first sells stock to the public), and add it to your spreadsheet.

Key points

What it is

  • Begins is a simple, step-by-step way to build AI tools that focuses on starting small and clear.
  • It helps you understand your task before adding AI, preventing mistakes like letting AI write its own instructions.
  • The process takes about 80% of your time to create reusable instructions for your specific tasks.
  • It keeps you in control, ensuring the AI works for you and meets your quality standards.

How to use it

  • Start with the task, wrap instructions and background in XML tags (like `<task>`) so the AI knows what to process.
  • Run the prompt once to see if the output matches what you expected.
  • If the AI misses the format or style, add one or more examples to help it understand the pattern.
  • If the AI confuses information, add more XML tags to separate instructions, context, and input.

Watch out for

  • Skipping setup or failing to add a safety cap (a hard stop after a set number of turns) can cause endless loops.
  • Ignoring safety caps or not using the escape hatch effectively can lead to unwanted output.
  • Starting with a large file with many instructions can make the AI worse; start fresh with a small prompt.

Tools named

  • NotebookLM (a tool for organizing ideas and research with AI help).

Lesson 1: What is Begins (topic) and why it matters

Begins is a framework for building with AI that focuses on starting with the simplest, most effective solution for your specific task. Instead of jumping into complex systems, you first decide where the AI will sit: either in a project (a standalone task) or in a skill (a reusable process). For beginners, projects are recommended because they are simpler. The core idea is that you should have the simplest solution that achieves the task at the quality you have set.

What matters for AI development is that Begins forces you to understand your process before adding AI. One expert advises that you "need to understand the steps, what works and what doesn't before you ever introduce AI." This prevents the common mistake of letting AI write its own prompt or giving you an average answer. By starting with a clear, simple structure, you also avoid the hidden cost of letting AI run without oversight. The build phase, where you create skills (reusable instructions) for your specific tasks, takes about 80% of your time. Only after mastering this do you move to borrowing skills from others. This approach keeps you in control, ensuring the AI works for you, not the other way around, and helps you produce results that match your quality standards.

Sources

Lesson 2: How to use Begins (topic): step-by-step

To use Begins, you start with the task itself. Wrap your instructions and any background material in XML tags (markers like `<task>` and `</task>`) so the AI knows exactly what content to process. This is the "begins" step: open with a clear, direct instruction, then place your context inside those tags.

Next, you "try" your prompt. Run it once to see if the output matches what you expected. If the AI understands the task but misses the format or style you wanted, add a one-shot or multi-shot example. A one-shot gives one concrete example; multi-shot gives three to five diverse examples, such as one normal case and one edge case. Examples turn the abstract instruction into a pattern the AI can imitate.

If the AI still confuses pieces of information, you "escape" the problem by adding more XML tags to compartmentalize instructions, context, and input separately. Use the symptom to choose the smallest fix: if context gets mixed up, add tags; if the pattern is wrong, add examples.

Finally, "lab" means testing and iterating. After your first attempt, review the output. If it's not right, refine—you don't need to start over. Ask the AI to ask you clarifying questions before it begins. Use a prompt like "Before you start, ask the five most important questions that would help you do this well. After I answer, then begin." This builds the right foundation and saves corrections later.

Sources

Lesson 3: Best practices and pitfalls

When you begin using an AI agent (an autonomous system that completes tasks for you), common pitfalls include skipping setup, failing to escape looping behavior, and ignoring safety caps. Many beginners try to start with a perfectly organized notebook, but modern tools like NotebookLM now allow you to begin with loose ideas or rough research directions, letting the agent help build the structure for you.

One major mistake is running an agent without a safety cap (a hard stop after a set number of turns). You should always add something like "stop after 20 turns" when you set a goal. Otherwise, the agent can enter an endless loop, running in circles without making progress. If it breaks, look at the skill files or instructions you gave it — a large file with many instructions often makes the AI worse. Start fresh with a small prompt and it behaves better.

Another best practice is to use the escape hatch effectively. When you identify an incorrect path, treat every failure as evidence and adjust your approach. Use prefilling (starting the AI's response with an opening marker) and closing the last marker to prevent the agent from adding unwanted commentary. You can also clear context every so often to avoid context run (when the memory buffer gets too full and degrades performance).

Finally, investigate why the agent gives you output you don't want. Examine your habit of coding first — clarify the requirement and define success before implementation detail. Ask who uses the system and in what environment, then adjust your agent accordingly.

Sources