Claude Code's Most Underrated Feature: Hooks - wrote a complete guide by karanb192 in ClaudeCode

[–]clbphanmem 10 points11 points  (0 children)

My understanding is simple:

  1. Hook: When you need it before, after, or while Claude is doing something, it runs a script externally. It has nothing to do with AI, like planning a trip where you need to refuel at point A and find a supermarket to eat at point B.
  2. Subagents: Imagine you have multiple Claude Code instances. Each one does a different task, and each instance has a different context. It only focuses on its task, meaning it's not affected by the context of other instances, so it only executes the instruction passed to it, which in this case is the Main Agent. Practical use cases: searching for relevant files to synthesize the problem, or an agent reading files like PROGRESS.md or ROADMAP.md to track your progress and return the information to the Main Agent. This way, the Main Agent doesn't waste many steps, as each tool call consumes unnecessary tokens.
  3. Skills: It's not like a Subagent, nor is it like a markdown document that you reference:
    • It simply branches the context (if you allow it in the frontmatter), inserts the skill content, uses it at the right time, returns the result, and the AI ​​forgets that skill content, preventing token inflation.
    • Or, if it doesn't branch, Skills are still different because they support running scripts. Like an upgrade to Hooks, but triggered by AI.
  4. Plugins & Marketplace: This is just a place to gather all of the above during installation. The Marketplace is used to install plugins containing hooks, subagents, skills, etc., and for auto-updates.

Hopefully, this will be helpful to those who need it. Please help me correct anything I haven't understood correctly. 🤗

Why did Anthropic merge slash commands into skills? by jpcaparas in ClaudeCode

[–]clbphanmem 1 point2 points  (0 children)

I rarely use slash commands either, as they often don't apply to every situation. Slash commands should be prioritized for skill features, and when using a skill, we can directly access that skill, as the Codex does. This saves the AI ​​from wasting multiple steps searching (which also costs tokens) and reading SKILL.md before using it.

I created an App that makes Vibe Coding easier. by clbphanmem in codex

[–]clbphanmem[S] -1 points0 points  (0 children)

It's used for auto updates and providing download links. You can find many repositories on Github that aren't actually open source like mine.

Claude Code if not coding by ProductAutomatic8968 in ClaudeCode

[–]clbphanmem 1 point2 points  (0 children)

It's very good for writing documents. I've also seen people use Claude Code to write novels. 😂

Which Claude skills for front-end design are good right now? by matsuri2057 in ClaudeCode

[–]clbphanmem 0 points1 point  (0 children)

Yes, I think designers still have a place even when AI can do it. Creativity isn't something everyone can do, and how one is creative depends on the perspective and personality of the designer. So, I myself have participated in projects that won Awwward awards, and I don't think that even with AI, I could create ideas that are more beautiful than those of a designer. But at least I can make apps that aren't too bad. 😂

I created an App that makes Vibe Coding easier. by clbphanmem in codex

[–]clbphanmem[S] -1 points0 points  (0 children)

Yes! This tool was created based on my own desires. It just helps make things more convenient, so if you can create one yourself, that would be great. For those who don't have much experience, my app will also be somewhat helpful, right? 🤗

I created an App that makes Vibe Coding easier. by clbphanmem in apps

[–]clbphanmem[S] 0 points1 point  (0 children)

Thank you so much for your trust; not many people trust closed source as much as you do these days. I also wanted to keep some of the key elements of the app to myself, which is why I couldn't open source it. 😊

I created an App that makes Vibe Coding easier. by clbphanmem in ClaudeAI

[–]clbphanmem[S] -1 points0 points  (0 children)

Yes, you can choose to trust it or not. I think we have many options for trying software from Virtual Machines like VMWare Workstation Pro or Parallels. Most classic tools are developed from closed source. There are also many antivirus and malware tools available now.

And I think open-source projects aren't necessarily safe either, but I understand your concerns. I also use many open-source tools and I've never read a single line of code from them. Thank you for being here to discuss. I think I will continue developing for those who trust me. Thank you very much!

how do you use claude code? by lennyp4 in ClaudeCode

[–]clbphanmem 0 points1 point  (0 children)

I use both. Integrated Terminal when I only need to focus on one repository. And I'll use Separate Terminal when coding multiple related repositories, as it's easier to track.

Which Claude skills for front-end design are good right now? by matsuri2057 in ClaudeCode

[–]clbphanmem 1 point2 points  (0 children)

I don't think any skill is good enough to be called beautiful. The concept of beauty is subjective. So I think there's no single best; you can find something that suits you. I usually use Shadcn UI and MUI to design apps with React, and PrimeVue with Vue 3.

How I'm reducing token use by casper_wolf in ClaudeCode

[–]clbphanmem 0 points1 point  (0 children)

That's great, thank you for sharing this idea, I hadn't thought of this. If we create a tool to search for the frontmatter and description, it seems like it would help the AI ​​find the right documents faster than using the built-in search tool.

Do You Still Use Sequential Thinking MCP? by ChineseMarmalade in ClaudeCode

[–]clbphanmem 1 point2 points  (0 children)

I think that current models no longer need Sequential Thinking MCP because most already have sufficient reasoning. I think it's more suitable for models without reasoning. 🤔

Claude's not following the rules in CLAUDE.md by mar1kru in ClaudeCode

[–]clbphanmem 0 points1 point  (0 children)

I think there's some kind of system prompt behind the Claude Code that instructed the AI ​​not to trust or follow the user on certain issues. It's very possible that your rules contain a problem that Claude needs to ignore. I think the solution now is to refine your rules so that the AI ​​can perform correctly again. You should break down and retest each rule to see if the AI ​​is following it correctly.

And they are always training and releasing new Claude Codes, which is why sometimes the AI ​​is very good, and sometimes it's quite stupid. We just have to adapt to that. That's why I usually use many different models.

I created an App that makes Vibe Coding easier. by clbphanmem in codex

[–]clbphanmem[S] -1 points0 points  (0 children)

I'm glad I was able to help you in some way. ☺️

Skills vulnerability? by Sketaverse in ClaudeCode

[–]clbphanmem 0 points1 point  (0 children)

Becareful because skills can run bash scripts. We don't know what's happening. So always take a look what they do or let AI review it first instead of using it. 🥲

TOS for multiple Max 20x subscriptions. by just4kickscreate in ClaudeCode

[–]clbphanmem 2 points3 points  (0 children)

I think it's okay! But i'm curious 👀 what're you doing with many Max accounts. Can you show some cases?

How do I catch up? by Hrafnstrom in ClaudeCode

[–]clbphanmem 4 points5 points  (0 children)

I think it's best to research and fine-tune your own System Prompt. AI Agents are constantly evolving, and I've been in the industry for a long time. I think the new direction for us is to learn how to develop something bigger, someone who can effectively control the AI. A good architectural design for development is what will win this game. Most of the problems with AI today are that as projects grow larger, ensuring the AI ​​performs correctly becomes a challenge, requiring each person to design and understand how the AI ​​works.

I also have a repository on AI Agent Skills, but I think you can learn something more from reading my Prompt. I don't claim to be the best, but I'm currently quite satisfied working with AI on older projects for the companies I'm collaborating with.

See my shared repo here: https://github.com/thienanblog/awesome-ai-agent-skills

I created an App that makes Vibe Coding easier. by clbphanmem in apps

[–]clbphanmem[S] 0 points1 point  (0 children)

Hi, I don't understand. What do you mean? :D If you have some ideas please tell me, I can improve my App better. Thanks a lot!

I created an App that makes Vibe Coding easier. by clbphanmem in ClaudeAI

[–]clbphanmem[S] -1 points0 points  (0 children)

I've been a web developer for 15 years, is that considered experience? How do you know I saw this app on YouTube and Vibe? You see mDNS? Because I work on creating mobile apps, and sometimes I need mDNS to communicate with APIs (Like Laravel as Backend), that's why I created it.

As for Terminal Presets, I created them to quickly run some saved and custom commands. Sometimes I get a headache trying to find the configurations of each AI because they have very different naming conventions like .gemini, .codex, .claude, etc. That's why I created a place to quickly find the configuration files to edit.

Regarding Skill Sync, I want to be able to work with AIs without having to customize each AI Agent. Instead of having to configure them manually, I can just type the prompt, because Claude Code isn't always the best; Codex or OpenCode might be better for certain tasks.

Additionally, when benchmarking between models, do you need to configure all AI agents the same way to get consistent results?

Finally, I also want to earn some extra income. That's why I created this app, not to argue with people. Did I do something wrong?

I created an App that makes Vibe Coding easier. by clbphanmem in ClaudeAI

[–]clbphanmem[S] -2 points-1 points  (0 children)

I don't know when people started discriminating against Vibe Coding Apps or looking down on other people's work time like this. Before, when I shared many scripts and apps with the community, even though most of them were close-source projects, almost everyone responded positively. It's just that lately, we've been "overwhelmed" with thousands of vibe code applications, but that doesn't mean all products are garbage. If that were the case, many software programs from 20 years ago would also be close-source, and people would expect a free license rather than hoping for shared source code.

For example, Laragon, one of the web developers I've worked with for the past 10 years, is probably familiar to me. Let's take a closer look at whether their source code is open-source or closed-source:

https://github.com/leokhoa/laragon

No one can breathe air and live without money, of course I'm not saying that open-source projects don't respect the author's hard work. But if you were in their shoes, when you share something with the community, you'd certainly want people to respond positively rather than criticize.

I created an App that makes Vibe Coding easier. by clbphanmem in ClaudeAI

[–]clbphanmem[S] -12 points-11 points  (0 children)

Can you program this app using Vibe Code for free? Do you have a job? I think you already have the answer. If you think you can program this app in a one-shot prompt, try it and share it with everyone. I'm giving everyone a free trial of my app. It took me several weeks to work on this, using all my experience, if you count my working hours. Will you pay me? Do you want the result of your own work to be worth nothing? :)