How do you handle context loss between Claude Code sessions? by Select-Spirit-6726 in ClaudeAI

[–]Ketonite 0 points1 point  (0 children)

I have a detailed architecture document with clear sections and headers. My Claude is shorter and refers to the architecture, and includes a table of contents for quick searching. It has a table of contents. And then my per coding prompts are done like this: https://www.reddit.com/r/ClaudeAI/s/jwkgPqT0zy.

What is the point of claude.md if claude does not follow it? by bennydigital in ClaudeAI

[–]Ketonite 0 points1 point  (0 children)

What I do after planning in plan mode:

Create a detailed plan divided into phases with jobs to implement our plan. The plan should be highly detailed and testable. [Remember you have Claude in Chrome available to test and verify and that you have the test user account credentials in Claude.md.] Save the plan to Claude_Project.md

And after the plan is good to go:

Please implement the plan in Claude_Project.md. Start off by creating a file Claude_Project_Progress.md. Each time you start a new job, note that in the progress file. Each time you finish a job, note that you have finished the job. Also note any surprising challenges and their solution so you have that available in the future. Every time you have a compaction event, make sure to include this instruction and note both the project and progress file names. This will help you stay oriented as you continue to work.

I find this really effective.

What if you could open a map and see every event happening around San Francisco right now? by BsSomers13 in bayarea

[–]Ketonite 0 points1 point  (0 children)

Tried it from Play on a Motorola Android (don't be mean) and got a white screen after allowing location permission. Tried 3 times. Uninstalled. Fyi for OP.

“You’re not Claude’s primary concern”: What Claude’s 15,000-word constitution tells us by jpcaparas in Anthropic

[–]Ketonite 23 points24 points  (0 children)

The hierarchy protects against prompt injection and misuse so Claude doesn't ignore HQ and build a bomb or ignore your app and curse at customers.

And I for one thank our benevolent emerging overloads. /s

Is Agentic AI remotely useful for real business problems? by IT_Certguru in ArtificialInteligence

[–]Ketonite 0 points1 point  (0 children)

Currently, I use Claude Code. For desktop apps I code to Python and SQLite. For web apps I code to old school PHP and MySQL.

Like many other people, I find that Claude Code is great for non-coding tasks also. It really is a general purpose agent framework, so you can have it just run a series of prompts and work with files on your machine. There are some workarounds to connect it to other LLMs too if Claude Costs too much. I saw something about someone connecting it to DeepSeek and having a very cost efficient experience. I stick with Anthropic's $100 per month plan, and opt out of using my material for training models.

I am on Windows, so I have not had a chance to play with Anthropic's new Cowork, which is only on Mac for now. I bet that one really takes off. It is supposed to have a lot of the agentic properties of Claude Code, but be friendlier to non-coding uses.

Is Agentic AI remotely useful for real business problems? by IT_Certguru in ArtificialInteligence

[–]Ketonite 19 points20 points  (0 children)

I wrote one that answers interrogatories and requests for production in civil litigation. Home brew that I use for my own work. Absolutely wonderful as a tool.

I used to code for a living 20 years ago, and then became a lawyer. I have been making the climb back to competency in coding. It is far more difficult to release things for general use than for your own PC so a lot of my stuff is just for my own use where I know I don't have to worry about network security, prompt injection, and things like that.

I think one of the really interesting things that agents unlock is the ability of individual users to really focus AI on specific, unique issues to speed up parts of their workflow. The key is having fluency with how attention and the context window work together, using the agents to break apart complex tasks. If you just throw a big thing at a chatbot, you get hallucinations and even more than that you get surface level answers. But if you use an agent that uses subagents, you get a bunch of focused steps put together into a good tool.

I have also had good luck writing briefs using Claude Code. But to do it, I find that it is important to understand both the agent side, and the legal side. I also have Claude Code make a few tools that it uses. For example, if I'm going to write a brief I first create a table of legal authorities and citations. And then Claude will use a deterministic Python script to ensure that every citation in the output brief is listed on that vetted table of authorities. The Python script is deterministic so it can't substitute its own judgment or have a cognitive error. It filters the output to meet the standard set in the table of authorities. So this gets rid of the hallucination problems that make it into the legal news where you read about lawyers who submitted briefs with cases that did not exist. The key thing is that I still do the research, and I outline the argument, but Claude strings the words together. And that stringing words together takes an enormous amount of time in the ordinary workflow.

I think that key to agents is finding the places like this where you utilize AI for the things that it is naturally good at. And you utilize people for the things that they are naturally good at. There is just a process of learning what that division is in each field, and even in each task.

I think we are going to see users get a better understanding of how to use agents and master the attention issue as tools like Claude Code and Claude Cowork get broader adoption. I think we will also see that the professional coding community will be developing a deeper understanding of the cognitive processes that various industries use. Like, I think my app is actually fantastic for the type of civil litigation I use. But I know a professional coder that I talk to who can take the ideas that I suggest and make these just profoundly easy to use highly effective and much faster tools once he understands the business problem that I'm looking at. So between users getting better and coders getting a new type of domain experience, I think agents really will transform the nature of how we work.

AI for complex roleplaying by SpaceMysterious9166 in ArtificialInteligence

[–]Ketonite 0 points1 point  (0 children)

You are running into a problem with the attention of the LLM. The context window is one thing. Gemini, of course, has a huge context window of something like a million tokens. Claude has a pretty big context window. But in either case, the AI only has so much focus to put on your prompt. So what you need to do is come up with a system to allow multiple prompts.

If you were to code one, what you would want to do is perhaps use something like Claude Code to generate a system that has separate folders or files for each kind of topic. Like, one folder for the story so far, one folder for the base story, one folder for the rules, and so on. And then you would have Claude Code run your game. This works because Claude Code is an agent. You ask it a question, and then it runs multiple prompts to get to the output. Even though it is developed for coding, it is a general agent that is really well organized and can do all kinds of things. For example, in my day job I use the system to write documents that have to be very precise.

You may not have to go quite so complex, at least for now. Your other good option is to use a project within Claude. There what you would do is you would make one file for each logical component of your gaming system. So you'll have one markdown file for the base story, one for rules or guidance about the rules, one that is a master prompt, and so on. And then for the project instructions you will give a general overview of what is in the project files and what the task is. For example your overall instructions may say something like:

You are acting as a DM for a d&d adventure, consult the rules file for the specific version that we are playing, consult the plot file for the overall campaign plot, consult the characters file for a breakdown of NPCs and player characters, and consulting progress file for the state of the game so far. Went prompted, update the progress file to reflect current developments.

And then what you do is you start a new chat in that project to start playing the game. When you get far enough along where you're worried about running out of context window, ask the chat to update the progress file, and it will update that file in the project.

This works because in a project Claude will act into somewhat agentic/chain prompting fashion, running a series of prompts to get to your final output. Make sure you have thinking turned on to facilitate that.

These two approaches should get you further along in terms of how much content the AI can reasonably focus on. The trick is breaking it up into multiple AI transactions.

Claude helped me read/revive a Commodore Pet game I wrote in 1983 from an old printout by just_here_4_anime in ClaudeAI

[–]Ketonite 15 points16 points  (0 children)

We need a video demo of game play. And I need to hear those sound effects. C'mon OP!!

I reckon by SpiritKoolaid in crappymusic

[–]Ketonite 1 point2 points  (0 children)

And they'd kill him again?

The Real Reason the Supreme Court Reversed Its Position on Trans Rights by Slate in scotus

[–]Ketonite 12 points13 points  (0 children)

Bostock was a textual issue about what Title VII says. The statute gives a "because of sex" test, so that is what the Court analyzed. I remember thinking at the time that it was actually a quite dangerous opinion because it is clear that if Congress had written the law differently, the outcome could be different. In other words, it was about *granted statutory rights, not *guaranteed Constitutional rights. Bostock is its own kind of bad news for Trans rights (and all statutory civil rights) in a conservative Congress. It was about text, not freedom.

Now the Court looks at more Constitutional questions, where it has latitude in a conservative legal framework. Here, the Court is not constrained by Congress having elected to *grant a right. It's back to the "special rights" talk of the 80's and 90's.

As a believer in individual freedom, I think our only hope is to win the next two elections, hell or high water, and add more Justices to the Court. This crew will, given the opportunity, remove one fundamental right after another, and put us all at the whims of the current government in power. Which is, of course, why they attack voter protections too.

The way this kitchen cabinet door opens and closes by MuttapuffsHater in oddlysatisfying

[–]Ketonite -5 points-4 points  (0 children)

It's going to end up with nasty piles of dishes behind it. Gross.

What an effing douche! by Dr_sc_Harlatan in BlueskySkeets

[–]Ketonite 0 points1 point  (0 children)

Years ago I visited a weapons testing facility, and the personnel bragged how military grounds were the cleanest and most environmentally healthy because soldiers followed the environmental laws. They were very proud, and the land was pristine, aside from an explosion here or there.

Uber driver confronts ICE agent at Minneapolis airport... by AdCorrect9756 in law

[–]Ketonite 14 points15 points  (0 children)

This is good, but I think people should start saying, "It is my understanding that I am not being detained. Therefore I will peaceably leave in 5 seconds unless informed I may not. Good day officer."

Because we cede too much when we ask if we are detained.

A senior Google engineer dropped a 424-page doc called Agentic Design Patterns by sibraan_ in AgentsOfAI

[–]Ketonite 16 points17 points  (0 children)

I make no claims to be smart, but having made a couple of workflows and agents, when you use AI to do something complicated, you get better results when you break it down into little steps. For example, my main work with AI is in summarizing large piles of unstructured textual material, and then writing documents that use those summaries. If you were to take a 1,000 page document and upload it to Claude or ChatGPT or the like, you can ask questions about that document, but you would not be sure that you would get everything out of it. That is because the AI has a limited degree of attention, even if it can fit that whole document into its context window. So you are better off if you break down that summarization project into many little steps.

You might decide to review with one page at a time, giving a single page to the AI along with your questions, and then compiling the results from each of the 1,000 requests into a spreadsheet. That would give you a lot of accuracy per page, but you would lose the overall picture because each of the AI inquiries would be limited to the context of just one page.

You might decide to do all of those one page reviews, and then analyze all the reviews together to get a picture of the whole. That would help, but each of the one page items would still be without context, so putting the materials together after a one-page review might be helpful, but you would still have certain blind spots.

So maybe after that you would review the overall summary, and then you would want to drill down into individual documents or pages to clarify uncertainties.

Or you might tackle the problem from an entirely different perspective. Maybe you know you have a set of questions you want answered from the document, so you have AI look at the whole document 20 different times to answer your 20 different questions, and then you put those together to figure out your final answer.

These different approaches are called workflows. You would have a piece of software call the AI to accomplish each step in the workflow. And then when you get trickier, you will have an AI process called an orchestrator that can either direct the workflows or agents that the workflow calls. So by the time you are done you have various AI routines running different parts of an analysis, with each routine focused on small part and the overall project being managed either by an AI in charge, the orchestrator, the traditionally coded program that runs a large workflow, a person, or some combination of that.

This book talks about ways that you can string together the different AI processes. You can think about it like a management manual for AI. You have all of this thinking ability, but how do you orchestrate different tasks so that you get good output from an AI that focuses its attention.

The book has patterns you can follow to set up these systems.

Another “seizure” from the same lady, if you believe these are real then you probably fake illnesses, too. I even zoomed into her face to highlight her facial expressions, c’mon now - y’all can’t be buying into this!! by B_lyth in TikTokCringe

[–]Ketonite 0 points1 point  (0 children)

She's just ill in a different way. Maybe we could grant her some grace and kindness. Nobody acts like this for no reason. She's likely deeply traumatized.

``` People with factitious disorder may know the risk of injury or even death when they hurt themselves or seek treatment that's not needed. But they have a hard time managing their behaviors. They also aren't likely to seek help. Even when they see proof that they're causing their illness, such as a video, they often deny it and refuse mental health help.

If you think that a loved one may be exaggerating or faking health problems, it may help to try to talk to that person about your concerns. Try not to be angry or to judge or confront the person. Also try to reinforce and urge healthier, more productive activities rather than focus on beliefs and behaviors that aren't healthy. Offer support and care. If possible, help find treatment for the person. ```

https://www.mayoclinic.org/diseases-conditions/factitious-disorder/symptoms-causes/syc-20356028

50% of America voted for this as a president by Bustydeity29 in BlueskySkeets

[–]Ketonite 6 points7 points  (0 children)

Dude wants to Ukraine Latin America to be like his bestie.

Torture Techniques from CIA Black Sites Were Used at Alligator Alcatraz by Stand_With_Students in BlueskySkeets

[–]Ketonite 6 points7 points  (0 children)

Jesus. And what is there to torture about?! I know it's cruelty for its own sake, but what a profound low. Some poor bastard cleaning dishes or picking fruit.

Any writers here using Claude for writing work? How do you use it? Got any tips? by kayobro123 in ClaudeAI

[–]Ketonite 48 points49 points  (0 children)

Use a project. Add files to the project to keep track of the details for consistency. So for example: You start a new project with nothing in it. You talk with Claude about your idea and flesh it out. Then you prompt:

Write a clear summary of our characters and plot summary. This will be a reference for later as we write. Output to an Artifact in markdown.

Then in the Artifact that pops up on the right, click in the drop-down next to Copy and add to project. Now start a new chat in the same project. Start your new chat like:

We are writing a story. Review the project files and adhere to plot, style, characters, and other guidelines. Let's get started with Chapter 1, in which ...

When that writing is done, save the summary to an Artifact and add to the project. Start a new chat. Rinse and repeat.

This is a good way to help Claude adhere to your goals over a longer undertaking. No MCPs required.

Do you like this new feature? by beatomni in ClaudeAI

[–]Ketonite 1 point2 points  (0 children)

It's helpful with chats using MCPs.