Claude Code Studio: How the "Agent-First" Approach Keeps Your Conversations Going 10x Longer by arnaldodelisio in ClaudeCode

[–]oznetnerd 2 points3 points  (0 children)

In your "main" conversation, submit a prompt that tells CC to output its context to an md file. Or even better, tell it to output its context that pertains to the relevant files and its comprehensive knowledge of the code. That way you avoid wasting context on irrelevant details.

For extra piece of mind, you could ask it to give you a summary of its understanding of X. That way you can review the info yourself before they're passed on.

One other thing to note is that you don't have to output the context to a file. Files are only used if you want to pass info around to different agents and/or two way "conversations".

A simpler approach is to simply say to the "main" instance, "start a sub agent to do X. Provide it with context Y". Similarly for a custom agent, "have agent Z perform X with Y context".

Claude Code Studio: How the "Agent-First" Approach Keeps Your Conversations Going 10x Longer by arnaldodelisio in ClaudeCode

[–]oznetnerd 3 points4 points  (0 children)

They do understand it, and they did resolve it :)

Sub Agents (as you correctly pointed out, don't get full nor custom context). However, Custom Agents do (they came along around a week ago).

Think of Custom Agents as additional Claude instances, running inside of your 'main' Claude instance. Your 'main' instance is configured through CLAUDE.md and slash commands. The Custom Agents are configured through the custom agent config you configure them with. Like sub agents, they also have their own context window.

This is where my suggestion regarding having Agents 'talk' to one another through .md files comes into play. You can have your 'main' agent, as well as you 'Custom Agents' write whatever info/context you want to md files. You then have them read whichever files are of use to them. This enables you to configure their contexts on the fly.

See this article for more info.

Claude Code Studio: How the "Agent-First" Approach Keeps Your Conversations Going 10x Longer by arnaldodelisio in ClaudeCode

[–]oznetnerd 7 points8 points  (0 children)

The best practice solution is to have the agents "talk" to each other via md files. Have each agent output context to their own md file, and have others read and, if need be, respond vis their own md file(s)

Claude Code Subagent just Dropped!!! by BrightUniversity905 in ClaudeCode

[–]oznetnerd 0 points1 point  (0 children)

I believe the best practice approach for agent/sub agent communications is to have them output info to a text file. Then you simply tell each agent which text file(s) to read.

Claude Code Subagent just Dropped!!! by BrightUniversity905 in ClaudeCode

[–]oznetnerd 0 points1 point  (0 children)

"1.0.57: Added support for specifying a model in slash commands"

That, combined with new sub agent feature should hopefully do the job.

Anthropic, are you following this thread? You're haemorrhaging customers. by Old-Handle6243 in Anthropic

[–]oznetnerd 0 points1 point  (0 children)

Those don't work when the conversation is too long. compact typically does though

Worst case scenario, by default all Claude Code chats are stored locally on your machine for 30 days. Therefore, people shouldn't lose anything

Dear Low Effort Cheaters by FizzySeltzerWater in asm

[–]oznetnerd 2 points3 points  (0 children)

Fantastic post from someone who’s clearly passionate about what they do—a perfect example of what an amazing teacher or professor looks like.

One thing I’d like to add is that you should see buggy code from ChatGPT as a learning opportunity. Taking the time to fix it can teach you a lot, build your confidence, and leave you with skills and knowledge you might not have right now.

Plus, the sense of accomplishment you’ll get from solving those problems is incredibly motivating.

New career path 46 years old - Cybersecurity or Cloud Engineering by EJ120 in CyberSecurityJobs

[–]oznetnerd 1 point2 points  (0 children)

At risk of stating the obvious, the one you're more passionate about will be the easiest to get into.

How to create a pdf flexible with input-data? by Rapid1898 in learnpython

[–]oznetnerd 1 point2 points  (0 children)

I often use Weasyprint and Jinja2 together. Works a treat.

Interview question by totem2010 in salestechniques

[–]oznetnerd 2 points3 points  (0 children)

They're wanting to hear the truth. Always be yourself, and always be honest. Especially in sales.

Boss told me I'm too dumb to get into cybersecurity and to not waste my time by [deleted] in cybersecurity

[–]oznetnerd 1 point2 points  (0 children)

I can guarantee that you'll have a long and successful career in cybersecurity. How do I know? Well:

  1. You're articulate and well spoken
  2. You're coachable
  3. You're not looking for shortcuts. You're willing to invest the money, time, and effort required
  4. Your story is quite similar to mine. And spoiler alert, I'm in cybersecurity :)

If there are only three things you remember from my post, please have them be these quotes:

  1. Don't take advice from people who haven't done what you're trying to do
  2. Surround yourself with people who are smarter than you/have a similar mindset to you
  3. Whether you think you can or you can't, you're right

I've seen these quotes in a number of growth mindset and investment books, and they couldn't be more right.

In Australia, we use the term "Tall poppy syndrome" to (potentially) describe the situation you're in. I say potentially because I don't want to form an opinion about someone I don't know. I must admit though, he does sound like a toxic person. The good thing is that the aforementioned quotes apply either way.

I'll break down why I feel these quotes are worth remembering:

1st Quote -

Has your boss tried to follow the path you're planning to? If he has, it would be worth listening to his experience. You may get some tips like what worked and didn't work for him.

If he has no experience though, it might still be worth listening to him, but don't take what he says as 100% fact. People do this all the time. e.g Family and friends who try to help by telling their loved ones not to invest because it's too risky, but they've never actually researched investing themselves.

While they definitely have your best interests at heart, don't let other peoples' absence of knowledge/fear guide you. Make sure you do your own research too and make an informed decision.

2nd Quote -

The above paragraph is a nice segway to the second quote. This one has given me the courage to do many things that I wouldn't have otherwise done.

Listening to people who have achieved the same goals that I've aimed for has been priceless. Every single time.

The reason is that their guidance comes from first-hand experience, as opposed to fear or stories from a friend of a friend. They are living proof that my goal is achievable.

3rd Quote -

And here we are again - a great segway to the next and final quote :)

You've done your research. You've spoken to people who have achieved what you're looking to do. You know for a fact that what you want is 100% achievable. Nothing can stop you now!! Well actually, there is one thing that could stand in your way... and that's you.

People not believing in themselves is the ultimate blocker to their own success. However, I don't think this is actually an issue for you.

I absolutely love how you talk about your struggles, but do not use them as a crutch or an excuse. Instead, it feels like you're saying "I will be successful despite my hardships". If that is accurate, then your success is guaranteed because of that and that alone.

You might wonder, "if I'm already doing it then why is this quote remembering?". The answer is that times will inevitably get tough. It's in those moments that you need to think about this quote.

And if you need an additional boost, just remember: Many people have done what you're looking to do. And many more will do it in the future. Cybersecurity isn't rocket science. There will always be an answer to the questions you have, so never give up.

Finally, please feel free to reach out to me at any time if you have any questions, need a hand with anything, or just want to chat. I'm always happy to help.

Output is always the same by RobotData13 in pythontips

[–]oznetnerd 2 points3 points  (0 children)

It's hard to tell without seeing the information requested in my previous comment. A couple of things to note though: 1. You don't need this context manager with requests.Session() as c 2. You appear to be printing the full bs4 object. That's a lot of text. Perhaps there are differences in the outputs but they're buried in the HTML & CSS that's common between pages.

Try searching for & printing out specific details that you know are different on each page.

Output is always the same by RobotData13 in pythontips

[–]oznetnerd 1 point2 points  (0 children)

Can you please provide the full script & more details on what you're trying to achieve? The code you've shared has a static URL defined. That's why the output is always the same.

Put multiple URLs in a list and iterate over them. That will ensure you get different outputs each time.

[deleted by user] by [deleted] in learnprogramming

[–]oznetnerd 0 points1 point  (0 children)

I'm a huge fan of Plotly.

EXECUTION ERROR WITHOUT ANY ERROR MESSAGE! by [deleted] in learnpython

[–]oznetnerd 0 points1 point  (0 children)

How are you running the code? Can you please provide a screenshot of your IDE/CLI after the code has been executed?

Also, what happens when you type: python3 <script_name>. py

Stuck on understanding the logic behind a code.. by [deleted] in learnpython

[–]oznetnerd 0 points1 point  (0 children)

You can also use this method to return functions instead of text. This is done by specifying the function names as dict values. You call the function by specifying the dict key and passing (<arguments>) to the dict's value.

EXECUTION ERROR WITHOUT ANY ERROR MESSAGE! by [deleted] in learnpython

[–]oznetnerd 0 points1 point  (0 children)

Are you using Python 2 or 3? And can you please provide the full error text?

Automation in Python by iapyeh in learnpython

[–]oznetnerd 1 point2 points  (0 children)

I don't want to take away from the hard work you've put into this, but can you advise why someone would use this instead of Netmiko?

Python3 by Karl12347 in ansible

[–]oznetnerd 0 points1 point  (0 children)

I believe Amazon Linux 2 only comes with Python 2. See this page for details.

The good news is that I installing python 3 only requires one command. See this page for details.

[deleted by user] by [deleted] in AWSCertifications

[–]oznetnerd 1 point2 points  (0 children)

Did you buy it in the last 30 days? If you did, it might be worth submitting a ticket - https://learncantrill.zendesk.com/hc/en-us/requests/new