Speaker Notes

What Claude Code Can Do That You Haven't Tried - Gui Ferreira - NDC Oslo 2026

An expert walkthrough of advanced, lesser-known Claude Code features spanning configuration optimization, context management, workflow automation, and non-coding personal productivity use cases.

NDC Conferences · 54:12 · YouTube ↗

Talk · solo speaker  Advanced · configuration, strategy, and workflows

Highlights

5 clips · 11 min of 54 min
    • ETH Zurich research shows descriptive claude.md files degrade performance by 3% and increase costs by 20%.
    • Avoid duplicating general information that the agent can deduce on its own from the codebase structure.
    • Move task-specific instructions out of claude.md and into dedicated language rule files or skills.
    • Pressing Ctrl+G during plan mode opens the current implementation plan as a markdown file in your editor.
    • Directly edit the markdown file to fix minor details instead of wasting tokens chatting back and forth with the agent.
    • Run slash context in an empty session to audit what files and skills are automatically bloating your context window.
    • Aim to trigger manual compaction or split tasks before hitting the 40% context window threshold where output quality degrades.
    • Manual compaction preserves useful accumulated problem-solving history while dropping trial-and-error noise.
    • Configure post-tool use hooks to automatically run linters or tests when Claude finishes an action.
    • Automating test execution via hooks saves valuable tokens by letting the agent self-correct using local tool feedback directly.
    • Pair Claude Code with local markdown vaults like Obsidian to manage notes, summaries, and personal data without writing code.
    • Build custom skills that fetch external data (such as Strava fitness logs) into markdown files for automated weekly progress planning.

Questions this video answers

9 · every answer cites the moment it was said
01 How do I migrate my existing configurations into Claude Code? 2 sources · 4:37

You can import your MCP servers, configuration files, and sub-agents from other coding agents like Codex or Cursor by running a simple import command. This saves you from having to manually recreate your custom setup from scratch in Claude Code.

02 How should I structure my project's Claude.md file for best performance? 2 sources · 6:48

Research shows that long, descriptive instruction files actually decrease performance by 3% and increase token costs by 20%. You should keep your instructions lean, avoiding duplication with your readme, and clean them by evaluating whether each rule is truly necessary for every single task.

03 How can I prevent Claude from reading sensitive secrets during debugging? 2 sources · 11:32

To prevent Claude from accidentally reading sensitive environment variables or secrets while troubleshooting, you should configure your settings.json file. Specifically, you can add deny rules under permissions to exclude certain files or bash commands from ever being seen or executed.

04 How can I edit a plan generated by Claude without endless chat back-and-forth? 2 sources · 14:59

When Claude presents an implementation plan, you can press a shortcut key to open it directly as a markdown file in your editor. Once you modify and save that file, Claude automatically recognizes your changes and proceeds accordingly.

05 How do I undo a bad direction or incorrect implementation step? 2 sources · 18:04

If a feature implementation goes down the wrong path, you can use the rewind feature to step back in time. This acts like resetting to an earlier prompt or state without polluting your context window with failed code attempts.

06 How do I manage context window pollution when working on long sessions? 2 sources · 25:26

Reaching high percentages of your context window can degrade response quality and waste tokens. You should proactively run a compaction command when you finish discrete subtasks or notice the agent looping through trial and error.

07 How do I run multiple tasks in parallel on the same repository? 2 sources · 35:18

You can leverage Git work trees, which create virtual folders inside your local repository. This allows you to build a new feature, perform code reviews, and fix bugs simultaneously without constantly committing and switching branches.

08 How do I automatically run tests or checks after Claude finishes a tool use? 2 sources · 41:09

You can set up post-tool use hooks that automatically run your linters or test suites once Claude completes a task. This provides immediate feedback directly into the conversation loop, helping Claude correct errors without you spending extra tokens manually prompting.

09 Can I use Claude Code for non-coding tasks like managing personal notes? 2 sources · 50:46

You can point Claude Code at local markdown folders used by note-taking applications like Obsidian. This lets you automate personal workflows, summarize meetings, surface future todos, or even build skills that pull fitness data from external trackers into your markdown files.

Section-by-section summary

7 parts

Migrating configurations and securing sensitive settings

You can seamlessly import MCP servers and agent setups from other tools using slash import. Additionally, protect sensitive environment variables and secrets by explicitly configuring denied bash commands and file paths in settings.json.

Optimizing claude.md files based on empirical research

Research from ETH Zurich proves that bloated system instructions increase token costs and lower agent performance. Keep your claude.md lean by removing redundant directory structures and delegating specialized rules to language-specific rule files.

Mastering interactive planning, rewinds, and effort levels

Enhance your daily workflow by interviewing Claude for hidden assumptions, using slash rewind like a time machine to revert bad architectural choices, and adjusting reasoning effort levels or triggering ultra-think for hard problems.

Managing token costs and context window pollution

Track your token consumption via session statuses and audit invisible context items like auto-loaded memories. Proactively compact sessions or use focus mode to filter out intermediary debugging logs and maintain high output quality.

Unlocking remote control, voice input, and parallel git work trees

Boost daily productivity by running long tasks remotely from your mobile phone while away from your desk. Combine voice mode for natural prompt formulation with git work trees and custom terminal colors to manage multiple features simultaneously.

Automating workflows with hooks, skills, and headless mode

Leverage post-tool hooks to run tests automatically and package recurring routines into reusable skill folders with bundled scripts. You can also run Claude in headless mode via print flags to integrate reasoning directly into shell scripts.

Expanding Claude Code into personal life and productivity workflows

Claude Code is not limited to software engineering and can be applied to organize messy local directories, draft performance reviews, or parse markdown-based personal notes. Connecting local vaults to automated skills enables sophisticated personal tracking like automated fitness and health planning.

0:00 / 54:12
k play/pause · f fullscreen · m mute
n next · p previous clip · t highlights/full
< > slower/faster · / search what was said
  • Claude.md9× · first 5:10

    An important configuration file for defining project-specific instructions and rules for the agent.

  • MCP servers3× · first 4:45

    External server integrations that provide tools and context to the coding agent.

  • Plan mode1× · first 14:13

    A specialized interactive mode where the agent researches and outlines changes before implementation.

  • Rewind1× · first 18:04

    A time-travel feature that lets you step back to earlier prompts and undo recent actions.

  • Work trees1× · first 35:08

    Virtual folders inside a git repository enabling parallel work on multiple branches or tasks.

  • Hooks1× · first 39:58

    Automated scripts triggered after specific events like tool use to run tests or checks.

  • Skills8× · first 9:19

    Reusable packages of instructions, scripts, and documentation that extend agent capabilities.

  • Obsidian3× · first 50:30

    A markdown-based note-taking application used alongside Claude Code for personal productivity.