<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: btechnik</title>
    <description>The latest articles on DEV Community by btechnik (@btechnik).</description>
    <link>https://dev.to/btechnik</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F998087%2F115c304e-21e5-43dd-a0ab-3d2a4f5be946.png</url>
      <title>DEV Community: btechnik</title>
      <link>https://dev.to/btechnik</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/btechnik"/>
    <language>en</language>
    <item>
      <title>Get Started with Claude Code: A Developer's First Look at AI-Powered Coding</title>
      <dc:creator>btechnik</dc:creator>
      <pubDate>Fri, 03 Apr 2026 22:48:25 +0000</pubDate>
      <link>https://dev.to/btechnik/get-started-with-claude-code-a-developers-first-look-at-ai-powered-coding-4jdp</link>
      <guid>https://dev.to/btechnik/get-started-with-claude-code-a-developers-first-look-at-ai-powered-coding-4jdp</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There are a lot of AI tools out there. Claude.ai, GitHub Copilot, Cursor, ChatGPT — the list keeps growing. So when I sat down to explore &lt;strong&gt;Claude Code&lt;/strong&gt;, I had one question in mind: &lt;em&gt;what actually makes this different?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;By the end of this project, I had a working portfolio website — built almost entirely by AI — and a clearer picture of where Claude Code shines. Here's exactly what I learned.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;What Is Claude Code?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Claude Code is Anthropic's &lt;strong&gt;agentic coding tool&lt;/strong&gt; that runs directly in your terminal. Unlike Claude.ai (which is a chat interface), Claude Code has real capabilities that go much further:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ Reads your entire project folder and understands file structure&lt;/li&gt;
&lt;li&gt;✅ Creates, edits, and deletes files on your behalf&lt;/li&gt;
&lt;li&gt;✅ Runs shell commands and terminal operations&lt;/li&gt;
&lt;li&gt;✅ Remembers project context across sessions via CLAUDE.md&lt;/li&gt;
&lt;li&gt;✅ Asks for permission before making changes (in Default mode)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The key insight: Claude.ai only knows what you &lt;em&gt;tell it&lt;/em&gt;. Claude Code knows what's &lt;em&gt;in your project&lt;/em&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 1: Installing Claude Code
&lt;/h2&gt;

&lt;p&gt;Installation on Windows is a single PowerShell command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;irm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;https://claude.ai/install.ps1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;iex&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once installed, verify it's working with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;claude&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;--version&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="c"&gt;# Output: 2.1.79 (Claude Code)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You'll also need to add API credits to your Anthropic account — Claude Code uses the API, so usage is token-based rather than subscription-based.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Pro Tip:&lt;/strong&gt; Start with a small credit top-up ($5–$10) to explore the tool before committing more.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Step 2: Understanding the Trust Prompt
&lt;/h2&gt;

&lt;p&gt;When you first run &lt;code&gt;claude&lt;/code&gt; in a terminal, it immediately asks a critical security question:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"Is this a project you created or one you trust? Claude Code will be able to read, edit, and execute files here."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This isn't just a formality — it's an important safety mechanism. Claude Code needs read/write permissions on whatever directory you point it at. Running it from your home directory would give it access to personal files, OS configs, and sensitive data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best practice:&lt;/strong&gt; Always navigate to a dedicated project folder before launching Claude Code. This scopes its permissions and keeps it focused on your actual work.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 3: Setting Up Project Memory with CLAUDE.md
&lt;/h2&gt;

&lt;p&gt;This is one of the most powerful features, and easy to overlook.&lt;/p&gt;

&lt;p&gt;Claude Code reads a file called &lt;code&gt;CLAUDE.md&lt;/code&gt; at the start of every session. Think of it as a briefing document — it tells Claude Code what your project is, what tech stack you're using, conventions to follow, and anything else it should keep in mind.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gh"&gt;# CLAUDE.md&lt;/span&gt;

This file provides guidance to Claude Code when working with code in this repository.

This is a single-page personal portfolio website built with plain HTML and CSS. No frameworks.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With this in place, Claude Code never asks what kind of project you're working on. It already knows.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Why this matters for teams:&lt;/strong&gt; CLAUDE.md can include coding standards, naming conventions, deployment notes, and architectural decisions. It becomes a living knowledge base that any team member — human or AI — can rely on.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Step 4: Configuring Claude Code
&lt;/h2&gt;

&lt;p&gt;Two key configuration commands: &lt;code&gt;/model&lt;/code&gt; and &lt;code&gt;/config&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Choosing a Model
&lt;/h3&gt;

&lt;p&gt;I selected &lt;strong&gt;Claude Haiku&lt;/strong&gt; — the fastest and most cost-effective option. For a portfolio website, the heavy reasoning power of Opus wasn't needed.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Config Options
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Setting&lt;/th&gt;
&lt;th&gt;My Choice&lt;/th&gt;
&lt;th&gt;Why&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Thinking Mode&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Disabled&lt;/td&gt;
&lt;td&gt;Not needed for HTML/CSS; saves tokens&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Permission Mode&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Default&lt;/td&gt;
&lt;td&gt;Requires approval for every file change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Model&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;claude-haiku-4-5&lt;/td&gt;
&lt;td&gt;Fast and cost-effective&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Permission Modes explained:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Default&lt;/strong&gt; — Claude Code proposes changes and asks for approval before applying&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auto-Accept Edits&lt;/strong&gt; — Changes applied automatically without prompting&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plan&lt;/strong&gt; — Claude Code only plans; you execute manually&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For beginners, Default mode is highly recommended. It keeps you in control and helps you understand what the tool is doing.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 5: Building the Portfolio
&lt;/h2&gt;

&lt;p&gt;With an empty project folder and a single prompt, Claude Code generated a complete portfolio website:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;gt; Build me a portfolio website with About, Projects, and Contact sections. 
  Use a modern, technical color scheme.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Claude Code then:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Assessed the empty directory&lt;/li&gt;
&lt;li&gt;Created &lt;code&gt;index.html&lt;/code&gt; with semantic HTML structure&lt;/li&gt;
&lt;li&gt;Added inline CSS with a dark, technical theme&lt;/li&gt;
&lt;li&gt;Populated the About section with a professional bio layout&lt;/li&gt;
&lt;li&gt;Added placeholder cards in the Projects section&lt;/li&gt;
&lt;li&gt;Built a Contact section with social links&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Total cost for the initial build: $0.01.&lt;/strong&gt; Tokens: ~390 input, ~5.8k output.&lt;/p&gt;

&lt;h3&gt;
  
  
  Iterating in Plain English
&lt;/h3&gt;

&lt;p&gt;After the initial build, refinements were done in natural language:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;"Add my GitHub and LinkedIn links to the footer"&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;"Update the About section with these professional details..."&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;"Make the color scheme darker and more technical-looking"&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each time, Claude Code proposed specific changes, showed the diff, and waited for approval.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 6: The @ Reference System
&lt;/h2&gt;

&lt;p&gt;The most impressive feature: Claude Code's &lt;strong&gt;@ folder reference&lt;/strong&gt; system.&lt;/p&gt;

&lt;p&gt;With markdown files for the three past projects in a &lt;code&gt;/projects&lt;/code&gt; folder, I used this prompt:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;gt; Update the Projects section in @index.html using the content from @projects/ folder. 
  Read each markdown file to extract the title, description, and tech stack.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Claude Code read all markdown files, extracted titles, descriptions, and tags, then updated the HTML with real project cards automatically.&lt;/p&gt;

&lt;p&gt;The result: a fully populated Projects section featuring actual work — Telegram AI Bot with OpenClaw, Spotify Clone with Cursor, AWS Threat Detection with GuardDuty — all pulled from documentation files.&lt;/p&gt;




&lt;h2&gt;
  
  
  Monitoring Usage: /cost and /context
&lt;/h2&gt;

&lt;p&gt;Two commands worth knowing:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;/cost&lt;/code&gt;&lt;/strong&gt; — Real-time session breakdown:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Total cost: $0.0593
Total duration (API): 34s
Total code changes: 655 lines added, 0 lines removed
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;&lt;code&gt;/context&lt;/code&gt;&lt;/strong&gt; — Context window usage:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;31.4k tokens (16%) out of 200k tokens
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Keeping an eye on &lt;code&gt;/context&lt;/code&gt; matters for longer sessions — as the context fills up, responses about earlier parts of your project can become less precise.&lt;/p&gt;




&lt;h2&gt;
  
  
  Key Takeaways
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;It's not just a chat interface with file access.&lt;/strong&gt; The combination of project awareness, CLAUDE.md memory, permission-based editing, and @ references creates a genuinely different developer experience.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The cost model is worth understanding.&lt;/strong&gt; For the work covered here — building an entire portfolio website — total spend was under $0.10. Choosing the right model and disabling Thinking Mode when unnecessary makes a real difference.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Default permission mode is your friend.&lt;/strong&gt; Seeing every proposed change before it's applied is an excellent way to understand what Claude Code is doing and why — which makes you a better developer in the process.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;Next goals: deploying this portfolio via GitHub Pages, and exploring Claude Code with more complex projects — connecting it to AWS services, running test suites, and using Thinking Mode for actual architecture decisions.&lt;/p&gt;

&lt;p&gt;If you've tried Claude Code, I'd love to hear about your use cases in the comments.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Nikhil Bhan is an AWS Community Builder (AI Engineering) based in Vancouver, Canada. He creates technical content for the NextWork community at nextwork.org.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>devtools</category>
      <category>productivity</category>
    </item>
    <item>
      <title>I Built a Personal AI Assistant with a Telegram Bot Using OpenClaw — Here's How</title>
      <dc:creator>btechnik</dc:creator>
      <pubDate>Fri, 03 Apr 2026 22:28:04 +0000</pubDate>
      <link>https://dev.to/btechnik/i-built-a-personal-ai-assistant-with-a-telegram-bot-using-openclaw-heres-how-2am3</link>
      <guid>https://dev.to/btechnik/i-built-a-personal-ai-assistant-with-a-telegram-bot-using-openclaw-heres-how-2am3</guid>
      <description>&lt;p&gt;Author: &lt;strong&gt;Nikhil Bhan&lt;/strong&gt;  &lt;/p&gt;

&lt;p&gt;🚀 &lt;strong&gt;What I Built&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Imagine having an AI personal assistant that you can text from anywhere — your phone, your desktop, wherever — and it knows you, remembers context, and can even send &lt;strong&gt;you&lt;/strong&gt; messages on a schedule without you asking.&lt;/p&gt;

&lt;p&gt;That's exactly what I built using &lt;strong&gt;OpenClaw&lt;/strong&gt;, a free and open-source AI agent framework. In under two hours, I had a fully functional, secured, autonomous AI assistant connected to Telegram and powered by Anthropic's Claude Sonnet 4.5.&lt;/p&gt;

&lt;p&gt;In this post I'll walk you through exactly how I did it — installation, configuration, Telegram integration, security hardening, and cron-based automation.&lt;/p&gt;




&lt;p&gt;🧰 &lt;strong&gt;What You'll Need&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A Windows computer (PowerShell required for install)&lt;/li&gt;
&lt;li&gt;An Anthropic API key (get one at console.anthropic.com)&lt;/li&gt;
&lt;li&gt;A Telegram account (mobile or desktop)&lt;/li&gt;
&lt;li&gt;~90 minutes of your time&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;🦀 &lt;strong&gt;What is OpenClaw?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;OpenClaw is a free, open-source AI agent that runs locally on your machine. It acts as a &lt;strong&gt;gateway&lt;/strong&gt; between you and AI providers like Anthropic. Key features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Control UI&lt;/strong&gt; — a browser-based chat interface to interact with your assistant&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gateway&lt;/strong&gt; — a background process that keeps your AI available at all times&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Channel integrations&lt;/strong&gt; — connect Telegram, WhatsApp, Discord, and more&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cron jobs&lt;/strong&gt; — schedule autonomous AI tasks to run on a timer&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plugins &amp;amp; Skills&lt;/strong&gt; — extend what your assistant can do&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Allowlists&lt;/strong&gt; — restrict who can access your bot&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's the closest thing I've found to a personal AI operating system.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Step 1: Installing OpenClaw and Running the Gateway&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Open &lt;strong&gt;PowerShell&lt;/strong&gt; on your Windows machine and run:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;powershell&lt;br&gt;
iwr -useb &lt;a href="https://openclaw.ai/install.ps1" rel="noopener noreferrer"&gt;https://openclaw.ai/install.ps1&lt;/a&gt; | iex&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This launches the &lt;strong&gt;OpenClaw Onboarding Wizard&lt;/strong&gt;. During setup, you'll:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Choose your AI provider — select &lt;strong&gt;Anthropic&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Choose your model — I selected &lt;strong&gt;Claude Sonnet 4.5&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Enter your Anthropic API key&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The wizard also installs the &lt;strong&gt;OpenClaw Gateway&lt;/strong&gt;, which is a background service that keeps your AI assistant running even when you're not actively using the Control UI.&lt;/p&gt;

&lt;p&gt;Once installed, verify everything is working:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;openclaw&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;gateway&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;status&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Troubleshooting tip:&lt;/strong&gt; If you can't access the Control UI in your browser, check the PowerShell terminal running the Gateway for the correct IP address. I initially tried the wrong IP and spent time debugging — the correct one is shown in the terminal output.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Step 2: Your First Conversation in the Control UI
&lt;/h2&gt;

&lt;p&gt;Open your browser and navigate to the IP address shown in the Gateway terminal (typically &lt;code&gt;http://127.0.0.1:18789&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;This is the &lt;strong&gt;OpenClaw Control UI&lt;/strong&gt;, a clean chat interface where you can talk directly to your AI assistant.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try these prompts to get started:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Hello! Can you introduce yourself and tell me what you can do?
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Your assistant will list its capabilities — task automation, web search, calendar management, connecting to messaging platforms, running commands, and more.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check token usage with &lt;code&gt;/status&lt;/code&gt;:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;/status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This gives you real-time session data: which AI provider is active, which model you're using, and how many tokens have been sent and received. It's excellent for monitoring API costs.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 3: Connecting Telegram for Mobile Access
&lt;/h2&gt;

&lt;p&gt;This is where things get exciting. You can now message your AI from your phone.&lt;/p&gt;

&lt;h3&gt;
  
  
  3.1 Create a Telegram Bot
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Open Telegram and search for &lt;strong&gt;&lt;a class="mentioned-user" href="https://dev.to/botfather"&gt;@botfather&lt;/a&gt;&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Send the command &lt;code&gt;/newbot&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Give your bot a name (I used &lt;code&gt;MyNextWorkClaw&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Give it a username (I used &lt;code&gt;teknikassistantbot&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Copy the &lt;strong&gt;bot token&lt;/strong&gt; that BotFather provides&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  3.2 Add the Bot to OpenClaw
&lt;/h3&gt;

&lt;p&gt;Go to your OpenClaw Control UI and send this message to your assistant:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Add a Telegram channel using this bot token: [YOUR_BOT_TOKEN]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Your assistant will update the &lt;code&gt;openclaw.json&lt;/code&gt; configuration file automatically.&lt;/p&gt;

&lt;h3&gt;
  
  
  3.3 Pair Your Telegram Account
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Open Telegram and search for your bot by username&lt;/li&gt;
&lt;li&gt;Send &lt;code&gt;/start&lt;/code&gt; — a &lt;strong&gt;pairing code&lt;/strong&gt; will be returned&lt;/li&gt;
&lt;li&gt;Go back to the Control UI and send:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Approve this pairing code: [PAIRING_CODE]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. Your Telegram account is now paired with your AI assistant. Send it a message from Telegram — it will respond!&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 4: Securing the Bot with an Allowlist
&lt;/h2&gt;

&lt;p&gt;By default, anyone who finds your bot could message it and use your Anthropic API credits. We need to lock it down.&lt;/p&gt;

&lt;h3&gt;
  
  
  Get Your Telegram User ID
&lt;/h3&gt;

&lt;p&gt;There are several bots that can tell you your User ID (such as @userinfobot). You can also see it in the pairing confirmation.&lt;/p&gt;

&lt;h3&gt;
  
  
  Update the Allowlist
&lt;/h3&gt;

&lt;p&gt;In the Control UI, tell your assistant:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Update the OpenClaw configuration so that only Telegram User ID [YOUR_USER_ID] is allowed to use this bot.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Verify the change:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Show me the current OpenClaw configuration.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You should see your User ID in the &lt;code&gt;allowedUsers&lt;/code&gt; field. Anyone else who messages the bot will be blocked.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 5: Automating with Cron Jobs
&lt;/h2&gt;

&lt;p&gt;This is the feature that makes OpenClaw feel genuinely agentic. Instead of you always initiating the conversation, your AI assistant can proactively send &lt;em&gt;you&lt;/em&gt; messages.&lt;/p&gt;

&lt;p&gt;In the Control UI:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Set up a cron job that runs every 10 minutes and sends me a Telegram message with a motivational quote, a fun fact, and a random piece of trivia.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Your assistant will create the cron configuration. After 10 minutes, you'll receive a Telegram message from your bot — completely unprompted — containing exactly what you asked for.&lt;/p&gt;

&lt;p&gt;This is a simple example, but the possibilities are significant:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Daily summaries of your calendar&lt;/li&gt;
&lt;li&gt;Reminders for tasks or medications&lt;/li&gt;
&lt;li&gt;Weather alerts&lt;/li&gt;
&lt;li&gt;Web-scraped news digests&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📊 What I Learned
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Concept&lt;/th&gt;
&lt;th&gt;What It Does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;/status&lt;/code&gt; command&lt;/td&gt;
&lt;td&gt;Tracks token usage and session info&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;OpenClaw Gateway&lt;/td&gt;
&lt;td&gt;Keeps your AI running in the background&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bot pairing code&lt;/td&gt;
&lt;td&gt;Securely connects your Telegram identity to OpenClaw&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;openclaw.json&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The config file that controls everything&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Allowlist&lt;/td&gt;
&lt;td&gt;Restricts bot access to approved User IDs only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cron jobs&lt;/td&gt;
&lt;td&gt;Enables proactive, autonomous AI behavior&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🔮 What's Next
&lt;/h2&gt;

&lt;p&gt;This project opened my eyes to what a local AI agent can really do. My next goals with OpenClaw:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Build custom OpenClaw Skills&lt;/strong&gt; — domain-specific capabilities for my workflows&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Create automated AWS monitoring alerts&lt;/strong&gt; — integrating with my GuardDuty log analyzer project&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Connect to calendar and task tools&lt;/strong&gt; — true personal assistant automation&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  💡 Why OpenClaw Over Just Using Claude.ai?
&lt;/h2&gt;

&lt;p&gt;That's a fair question. Claude.ai is excellent for conversation, but OpenClaw gives you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Persistent background availability&lt;/strong&gt; — your assistant is always on&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Channel flexibility&lt;/strong&gt; — use Telegram, WhatsApp, Discord — not just a web tab&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cron automation&lt;/strong&gt; — AI-initiated actions, not just reactive responses&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local control&lt;/strong&gt; — your config, your API key, your data flow&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Skills and plugins&lt;/strong&gt; — extend behavior programmatically&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🏁 Conclusion
&lt;/h2&gt;

&lt;p&gt;In about 90 minutes, I went from zero to a secured, mobile-accessible, autonomous AI personal assistant. The combination of OpenClaw's simplicity, Anthropic's powerful Claude models, and Telegram's ubiquity makes this genuinely practical for everyday use.&lt;/p&gt;

&lt;p&gt;If you're building in the AWS/AI/automation space like I am, I'd strongly encourage you to try this. The cron job capability alone changes how you think about what AI can do for you.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;GitHub / Resources:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;OpenClaw: &lt;a href="https://openclaw.ai" rel="noopener noreferrer"&gt;https://openclaw.ai&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Anthropic API: &lt;a href="https://console.anthropic.com" rel="noopener noreferrer"&gt;https://console.anthropic.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;NextWork Projects: &lt;a href="https://nextwork.org" rel="noopener noreferrer"&gt;https://nextwork.org&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Nikhil Bhan is an AWS Community Builder (AI Engineering) based in Vancouver, Canada, with 13 years of experience in healthcare IT, systems administration, and technical documentation.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>telegram</category>
      <category>automation</category>
      <category>claude</category>
    </item>
  </channel>
</rss>
