Log in to leave a comment
No posts yet
Until you get used to it, the terminal can be an unfriendly tool. When installing Claude Code, it is easy to encounter permission errors like EACCES, which usually happens because Node modules are blocked while trying to access administrative areas. To avoid this headache, Anthropic recommends creating an independent space within the user's home directory.
Simply installing it isn't the end of the story. If you are using a Node version manager like NVM, paths can get tangled every time the version changes, leading to frustrating situations where the tool won't execute. Copy and paste the following three lines in order. This process alone can save you up to 2 hours of setup time every day.
nvm install --lts && nvm use --lts.npm config set prefix '~/.npm-global'. Now, you won't be blocked by permission issues.npm install -g @anthropic-ai/claude-code && claude doctor to perform a final check on the installation and network status.Markdown files exported from Google NotebookLM are a bit clumsy to use as-is. Data lacking metadata eventually becomes unsearchable trash that you can't even trace back to its source. I immediately convert this data into a YAML structure that Obsidian can easily read. You must embed five key fields at the top of the file—type, source-url, tags, created-date, and status—to avoid struggling to find them later.
If you delegate this grunt work to Claude Code, even thousands of files can be organized in no time.
By organizing your data this way, you complete a knowledge base where you can find the information you need within 5 seconds.
Claude Code is capable, but if you let it read everything it's told, your wallet will empty fast. If you issue commands without constraints, it wastes tokens by scouring unrelated files. According to Anthropic's guide, simply defining the agent's scope of action in a SKILL.md file can prevent up to 80% of cost expenditures.
Here is how to set it up to keep monthly costs around $50 while maximizing research efficiency:
SKILL.md file, explicitly tell it to only look at research folders (e.g., 01_Research).MAX_THINKING_TOKENS=8000 or lower. High-spec models don't need to think too deeply for simple summarization tasks.allowed-tools and only permit file reading and writing.Simply scraping information through automation is just accumulating a pile of trash. To turn this into content that generates value, regular maintenance is required. Every Sunday, I run Claude Code to create an MOC (Map of Content). This is the process of drawing a map by connecting fragments of knowledge.
Claude Code consumes a massive amount of tokens when reading large files. If you lose track, you might be shocked by your billing notification. The most reliable line of defense is capping your monthly limit at around $40 in the Anthropic Console. If that still feels uneasy, you need to manage it more closely.
/cost command during your work. It shows exactly how much the current conversation has cost./clear to wipe previous conversation history or /compact to compress the history and reduce token consumption./model command to switch to a cheaper model.| Monitoring Metric | Purpose of Measurement | Response Action |
|---|---|---|
| Real-time Token Usage | Identify cost spikes | Stop work if anomalies occur |
| Cost Ratio by Model | Optimize operational efficiency | Switch to low-cost models for simple tasks |
| Prompt Caching Efficiency | Reduce redundant costs | Design prompts in a cacheable structure |