← All free workshops
Free workshop · Friday, October 30, 2026

Building Context for Agents with Skills

Use a skill to find the missing context behind an AI analyst's mistakes.

Recorded live on Maven. About 70 minutes.

What this session covers

Rachel Herrera from Hex demonstrates Context Consultant, a skill that looks through user conversations for context gaps, helps draft a guide and plans evaluations. Shane Butler and Hai Guan discuss where a definition belongs and why passing a new eval without a baseline is not proof of improvement.

  • Inspect the conversations behind a proposed context change. The suggestion alone does not tell you what actually went wrong.
  • Decide whether the fix belongs in a guide, table context or a semantic model, then preview it before sharing it.
  • Read eval questions and grading criteria, and compare with a baseline before treating a pass as progress.

The Agentic Analytics course covers the components, context and tests behind a working AI analyst.

Build an AI analyst

Chapters

  1. 7:07 Manage context as a continuous loop
  2. 13:22 Tables, guides and semantic models
  3. 22:32 Find gaps in real conversations
  4. 31:37 Live demo: prioritize gaps with Claude Code
  5. 38:01 Create a guide and test it in a preview
  6. 43:46 Read eval results and their limits

Recording notes and transcript

Automatic captions from the final recording, formatted for reading. Names and technical terms may be misheard. Check the video for exact wording.

Session notes

Follow the mistake back to its context

The live demonstration starts with conversations in which an analytics agent struggled. Rachel shows how Context Consultant surfaces possible gaps, then opens the underlying conversations to see whether a suggestion is warranted. A missing metric rule and a poor source choice may call for different fixes.

Put the fix where it belongs

The discussion distinguishes table information, written guides and semantic models. Existing company documents can supply facts, but a long document is not automatically useful runtime context. The demo drafts a guide, previews it and inspects what the agent does with the change.

Test the change against a baseline

The session also develops eval questions and grading criteria. A passing score on a newly written test does not establish that the agent improved. Compare with the prior behavior and inspect failures before sharing the change with a team. The recording shows the process in Hex and Claude Code; product screens reflect October 2026.

Automatic transcript

0:01 Users are getting bad answers. How do I fix it? It’s like one and three overlap, so maybe I should tackle those because it’s going to kind of kill two birds with one stone with one guide change. So, it added 59 lines, um created a new guide called product inventory metrics, um and it also created an eval suite to test this guide against. for the better part of a decade at this point. I did consulting back at Slalom and Ernst & Young, a lot of Tableau, Power BI, SQL Server, all that good stuff. Uh and then spent about 4 years at Amplitude building up their professional services. So, I just really love being like in the center of hey, we want to do a cool thing and like hey, I’ve got a cool solution to that thing.

0:54 Let’s put the two together and like make magic. Uh so, yeah. Pleasure to meet y’all and uh excited for today. I actually didn’t know you started at at EY with kind of data this stuff. I Same same story for me. I started PwC and it was all like I was working on this thing called their analytics wall and it was like a 8-ft by 16-ft screen of uh displays for like the huge data visualization like touchscreen thing and I’d like sit in this big conference room by myself all day and try and like scale these like small data viz on my computer to make it work on this big thing is I learned a lot about data visualization and like how people uh interact with it.

1:36 Um I think it’s a really a nice way to start. Very cool. Mine was not nearly as interesting. I was on the Affordable Care Act data team. Oh. So, like our clients needed reporting for ACA compliance and so, we were building that. Nice. were high, but the interest was not. Hi, do you want to do a quick intro before we we kick off here? Yeah. Hey everyone. My name is Hai and the other co-founder one of the other co-founders of AI Analyst Lab. Sean’s covered all the the basis for why we started that and many of you have seen me teach some of these weekly lessons. So very excited about today’s today’s lesson.

2:18 Cool. So before we get into it, just really quick recap. Um So this is our third lesson in our kind of four-part series here. So two weeks ago, we started with some of the kind of principles around you know, why we need um really well-structured context. Um why it’s important we understand like how agents access it and check if they can access it. So kind of like the principles part. Last week, we worked with you to start building out kind of like the first steps for creating a sort of like approach and context plan for your company.

2:56 Um and then today Rachel is going to get a lot more hands-on with how you kind of actually leverage skills to to build that context for your agents. Um what’s really exciting after this after these first three, in two weeks we’re going to have a half-day hands-on uh workshop in X. So everyone will get access to X and we’ll go you know end-to-end from like how do you figure out what context you need at your company, what do you already have, what do you need to create, how do you check that’s actually being retrieved, and then how do you measure um that it’s actually improving your analytics system. Uh and then we’ll give you a like, you know, a 30-day rollout plan at the end in terms of like how do you get context going at your company. So that’s

3:49 going to be a really fun time, I think. Uh a super valuable workshop. Um drop in the chat actually, interested to know if anyone’s already signed up and joining for us with that workshop on November 14th. If you’re not, I’m going to put a link here in the chat um with a a promo code so you can join us. Um But without further ado, nice, we got Antoine Antoine signed up. Great. Um Dippin, yeah, access to the previous sessions um are all on you our YouTube. I’ll drop a link in there as we go.

4:25 And then yeah, if you have questions along the way, just feel free to drop them in chat and uh and I and Al monitor that. But without further ado, I’ll pass it over to you, Rachel. Cool, great. Let me jump into our slides and then for today, I’m going to do some slides, some hacks, some Claude Code, some GitHub. We’re going to be all over the place, so strap in. Be on the edge of your seat. Um but for today’s session, uh talking about like building context, this is like marketed for the Hex agent, but generally I think there’s a lot of like very transferable information here that you can take into whatever sort of context building you’re doing. Um and the way that I want to teach this is really through like the context consultant skill that we created here at

5:09 Hex. Sorry, I have the same starting at 10:45. That was I did this yesterday. Uh we just had our first customer conference. Um and we did the session for our customers, so it’s pretty cool. Nice. Um So, yeah, not 30 minutes, an hour. Apologies, I just flew in last night and boy are my arms tired. Um but we are going to do like fundamentals, uh spend a good bit in like the live demos, and then obviously like wrapping up Q&A, but please don’t hesitate to ask questions throughout. Um I will try to monitor the chat. Um but if I miss it, maybe Shane or I just flag me down and I can answer something.

5:48 Cool. Um so, let’s start where most things tend to start, the fundamentals. So, like what even is context, why it matters? Well, um if you are new to agents, if you’re just sort of getting into this, or if you’ve been in it for a little while and you’re just sort of still trying to find like where does this fit in my workflow. Context is really what makes your data and your users’ questions make sense to that agent. I always like to think that agents are like very eager interns. They’re eager to help, they’re eager to answer a question, but they need information so they can find the right answer.

6:22 So, um when we think about, “Hey, does my agent give me a bad answer?” oftentimes it doesn’t come down to, “Oh, I’m using a bad model.” Nowadays, I think the models have sort of reached a point where they’re all largely like really proficient at doing work. Um the real like value and quality that comes from how you work with those agents is more directionally related to the context that you provide them and even how you structure that context, which is a lot of what I’ll talk about today. Um because context isn’t just one thing.

6:56 Uh it’s many things and those things sort of in concert with one another to get the agent to perform exactly what you needed to do. And when you think about the different layers of context, I like to start with like the life cycle of actually building and managing it because um oftentimes, like if you go back in time to our like old data world, step one was get the data, step two was like model the data, QA the data, and then build the dashboard, build the thing, build the data set.

7:29 And the getting the data part was like step one through like five. Like it was a very waterfall feeling kind of experience and like the management and maintenance of it felt very like long and hard. What I think agents are creating is this like the iteration is so fast on like pretty much every sort of step of working with agents. It’s fast to build, but it’s also getting us comfortable with the idea of being fast at like creating, curating, and measuring, and then improving our context. And so that life cycle looks something like this where first you’re trying to understand, you know, okay, what questions are users ask actually asking?

8:09 Um I’ll pause here because I think I’ve heard from several of our customers in the early days of this, their and like their gut instinct was to go with uh here’s a big list of all the questions we think people are going to ask. And we’re going to use that list as our North Star to go build out our context, and then we’re going to hope it matches what users are actually asking. And I think that’s a bit of an anti-pattern that we need to get comfortable because uh AI is here. It’s available. People are using it. What our jobs become is being able to look at those questions and use those as the signals as opposed to trying to guess or like form fit something that maybe isn’t true.

8:52 Um because people can ask whatever they want now, right? And um that may not be as indicative of the things they’ve been asking you for the past years because the things they’ve been asking you over the years have sort of been filtered through like I hope this person doesn’t think I sound stupid. I hope they don’t yell at me because I didn’t go to the dashboard that they built for me that I can’t find or remember where it exists. Uh it’s a lot more like unencumbered exploration, and I think we can learn a lot from that data.

9:21 Uh and so when you start there, you get a really good understanding of like, okay, what are people actually caring about and identifying that context you need to actually answer those questions well. Then you go build that context quickly. You QA something. The skill that I’m going to show you here will help you a lot in the identification and the build steps of this life cycle. Um and then you measure. Does the context that you just build improve the answer quality with evals? And then it says, yes, we did or no, it didn’t. Here’s some more things you can fix. And then you ship it and you go and and just sort of is like an always-on thing that happens.

10:01 I see customers that have created sort of like a CI/CD workflow where every time they’re pushing a context update based on suggestions that they’re being pulled from hex, uh have an eval written alongside it, and if that eval passes, then it the PR gets merged. Otherwise, it gets flagged. So, it can become like a really like nice hands-off thing once you get more and more comfortable with it. I certainly don’t recommend that as step one. I think there’s a lot to be learned from doing it and failing a few times.

10:32 Uh all this to say, data is never done. This is not a one-and-done situation, and context is effectively data. So, think of it in the same way that you think about hygiene on tables and new tables workflows being created as your company is releasing new products, adding new objectives, creating new teams, acquiring new businesses. All of that is also sort of becoming this like context management lifecycle as well. Um so, because it’s a loop, not a waterfall, um I also want to to get out of the habit of thinking about context as like a one-off project. It’s not, “Okay, we’re going to go build our semantic models, and then we’re going to write a guide, and we’re never going to touch it again.” Um that is also going to set you up for things feeling very stale and out of

11:23 sync with how fast the business is moving, and also how much the AI and agents are improving over time. Uh it’s more an ongoing process. You have going to have that agents find where possibly in that loop they could be running a little bit faster as you get more comfortable with it. And most importantly, where are humans still necessary inside of the process? I think uh at our conference yesterday, or excuse me, Tuesday, um a lot of the talks were about human judgment being inside of this process and like really existing in um what is a necessary way to like infuse the business knowledge that agents are just like never going to be aware or capable of understanding without humans putting it in there. And then also, how do we know what isn’t isn’t good versions of that context?

12:15 I also think that just simply writing and shipping context via agents without looking at it at all is also probably not the right way to go about this, especially if you’re just starting out. Um and then on lastly, like really knowing like inside of that process, and this is more unique to your business than anything else, like which inputs are not actually necessary for that loop to run really, really effectively. Um the other thing that I think is really tempting is like, “Oh, we’ve already got all this stuff living in a bunch of different places. We’ve got Confluence docs. We’ve got Notion. We’ve got Slack. We’ve got Linear. We’ve got Jira. Just hook all that up into the AI, and it’s going to figure it out for us.”

12:55 Um but little does does the AI know that like actually that page in Confluence that was highly visited 3 months ago is no longer relevant because you’ve depreciated that product line. Or you have turned off that campaign. Or you no longer want to serve that kind of customer. And so that’s why I think those are inputs. They’re not necessarily context with a capital C. Great. Um and in Hex specifically, so I’ll just like double-click down a layer deeper into some of our features and functionality. Um if you missed my intro at the top, um ultimately Hex is an AI analytics platform. So, we’re going to let you do deep data work inside of it using agents. That’s sort of the main driver of a lot of that work. If you’re a data person, if you’re data analyst, data engineer, data scientist,

13:46 uh but we also give this more kind of like chat self-serve analytics conversational layer with a feature called threads uh that lets you come in, you can ask a quick question, you can get a chart back. Um and then you can build out things like we call them data apps, not dashboards. They’re fully Python-driven kernels, so you can do a lot more than just kind of drag and drop. Uh and we’ve gone really far in the direction of like agents are going to be the primary users of a lot of this stuff going forward. Uh so we made a couple of really cool announcements of like our next version of Hex is um entirely code-based. So, it’s a file system.

14:26 Agents are doing everything. So, it’s just going to get cooler. Um but none of that changes what context exists and how it is like leveraged inside of our system. And so, kind of breaks down in these two buckets following that like context life cycle that I mentioned. Um building out layers, you can do things like endorsing tables. That’s going to let you curate the data inside of your warehouse. Uh this is really important because if you’ve got maybe a messy, large warehouse full of like dev and staging tables and test tables and things that you would never want an agent using to build production analysis for end users or for yourself. Um you can kind of flag those as like, “Hey, these are good tables. You should look at them first.”

15:14 Um but also just like the necessary hygiene of column and table descriptions inside of your metadata. Um we also have this concept of guides. So, very akin to Claude’s skills, markdown files that let you kind of put that stuff that’s not in the rows and columns of your warehouse inside of your agent’s context at scale. Uh and then we also let you author semantic models. So, if you are really keen to lock down a metric and say, “Hey, revenue means this.” And here’s the codified definition of it. We let you do that.

15:49 There’s some tools in our space that think that semantic models are like the thing. They are the solve for a lot of the uh what ails Oh, hey, did they get a right answer? Um pop maybe a hot take. I don’t know. Um I I say that semantic models are just like a dashboard in a trench coat. I think they give us a lot of the same challenges that dashboards did where it’s like a limiting experience. Uh they are an important piece to the equation, but I think I want to challenge all of you guys to think about um that there will never be a world where you can predetermine every question a user will answer, and agents are only going to get better from here.

16:28 So, uh I think semantic models are going to become like a piece, but not the lynchpin of getting this right. Uh what’s more important is you, the human, figuring out the system and the kind of the mix of the context and how it gets updated and getting that life cycle really tight to make the thing work really well. Uh and then ultimately, that’s leading us to being able to measure things through evals, which I’ll also touch on today. Um and then pushing those improvements to fix any gaps that exist. So, kind of trying to tie the workflow with some of our feature sets in here.

17:06 Hey Rochelle, we we have one question for you. Um does the context that Hex capture and provide to agents, does that act as like the de facto metadata catalog for the enterprise overall, or does it complement other solutions like Atlan or something that provide metadata and money edges well? Or how how do you see different customers leverage that? What’s kind of What’s kind of your recommendation? Yeah, I think if you’ve already heavily invested in an Atlan or like a master data management platform that’s got all of that information, the more interesting, like probably better thing to do would be how do you integrate that with Hex, and you just sort of keep that management there. Um if you’re using like maybe DBT or not Excuse me, not DBT, Databricks like Unity Catalog or if you’ve got DBT semantic models or metadata,

18:00 etc., we actually let you sync all of that into Hex. I think if you’re doing a third-party thing, it’s probably uh like an API situation that’s pushing those definitions or it’s letting us pull them. Um but I don’t think there’s a a wrong answer. I think you just need to pick one. I think you get really messy when when doing half one way and half the other way, and you can’t remember which way and they get out of sync. Got you. Got you. Thanks. Um, cool. And if there’s any other questions, I can answer them. Let me I’m just looking at the chat real quick.

18:35 We just had one come in from Vipin, I think. Oh, cool. Okay. For a new business transformation, we need to build business and tech context. Do do do do. Can this be used to build the context for that more like into I’d have to read that more closely. Vipin, do you want to Do you want to come on and and ask um your question? No pressure if not. What’s the context here? I think he means our software development. As opposed to traditional software development. Yeah, I I think one nice thing about Hex, like I I want to be super transparent that like we are very like we want to answer and help you ask data questions and do things with data.

19:32 Um, if your SDLC like process is heavily involved in that, probably. Otherwise, I think if there’s context that lives in other places that would serve both purposes, Hex is pretty magnanimous about where context can live. Like we’ll let you sync context from GitHub. We’ll let you connect to a repository of code. Um, so we do have like even our engineers use Hex very recent like very often, but it’s more like, “Hey, I’m trying to update this flow. Where in our code base does it tell me that users can do X and how frequently are they doing that?”

20:06 And because you can connect the code repository into Hex, our agent can go read that repo and understand, “Okay, here’s what the code says and here’s what the data says and here’s what you should do.” So, probably yes. Yeah, you Can you give me your name? Yes. All right, thank you. Yeah, so what what we are trying to do is is a major transformation and we have 20-year-old system. We wanted to completely transform that into I mean we did it’s completely newly built. So that means business have to reimagine the target state.

20:41 All right, so that means but most of the business people who are like using this for like 20 years they don’t really understand how this target state would look like. So we wanted to be able to you know build bits and pieces from 20 different business users, build everything, you know, bring everything together and then maybe use AI to build a context so that we can use AI as a a partner in building the the target state rather than just a tool the way we are like you know just say ask a question or say oh you know this is what we are thinking what do you think?

21:15 Yeah, I should be able to say okay, you know, what based on the context I have here this might be a better idea or maybe you know, some back and forth. That’s what I’m trying to say is that building the the right context for AI agents I’m sorry. AI agents that’s what I I was thinking is this something falls into that category or Uh yeah, I I definitely think it does and I don’t even necessarily think that all of that needs to live like within Hex specifically. I think what you’re describing is just a great project to get the context organized in such a way that any agent you want to live and sit alongside your software engineers can use and leverage. Um and I think that can look like a lot of different things depending on which

22:01 agent which harness you guys want to use. Um and like I said you could connect a code repo into Hex if there’s like an element of hey pull me numbers on this particular flow or this landing page or this click path that I want to know if we should depreciate going forward because it’s not useful people aren’t enjoying it etc. Mhm. Okay. Yeah. Thank you. Thanks, Evan. Um great. And all that to say like when we think about So, if I go back here to like this whole kind of workflow, um the big hairy question is like where do I start? Where should I look for those opportunities to improve my contacts? How should I start to think about that? Um and in Hex specifically, there’s a lot of already really good signal. I’ve touched on some of this at

22:51 the top. Um threads is our sort of conversational uh UI with the Hex agent. Um and we give you pretty intense telemetry and observability on what those conversations are, what users are asking, what’s the usage of the different things inside of Hex that are context that is actually helping answer that question, or if the agent is getting confused. And then our agent output, we have a review agent that looks at all of those conversations and says, “Where did the agent get tripped up? Where did the user push back? Where did the user doubt what the agent gave you? Um which data sets were built, etc.” And those things kind of married start to give you a really good kind of bird’s-eye view of where are people feeling some friction and pain with using the system and how can I make it better?

23:44 So, I’m going to go ahead and jump into Hex really quickly. If you’ve never seen it, this is just my little test environment. Um as you can see, we’ve got our classic prompt bar across the top. So, I could build whatever question I want. I could create a what we call a notebook, or I can actually build a generative app. So, it’s like vibe coding, but actually safe and secure and governed. Uh not a random HTML file that will end up in the CEO’s inbox. And um when I do all these activities and I create things like um maybe I could take this guy here. This one I built, I think it’s like a uh drag-and-drop experience.

24:24 Here we go. Yeah. So, I vibe coded this data app in Hex. I’ve got some data sets connected to it so I could come in here and like drag this and create my little pivot if I wanted to. So we’ve got users, they’re coming in, they’re doing this stuff, they’re asking questions of the agent. How do we know we can trust it? And what’s the signal on how we can improve our contacts? So in Hex we have what we call contact studio which is where you would see all of the agent conversations and most importantly you can actually drill into them.

24:55 See what the agent actually answered, what it built uh in this side panel here. This is my thread so I’m going to see a lot more than um most other people would. Um and all the thinking messages, traces, etc. But more importantly I could go into what we call suggestions. So this is where bunch of stuff’s getting asked. Cool. Okay, great. How do we know it’s good? Okay, shoot. So now you’re telling me I have to go through these hundreds of conversations and build an entire process to find the signal inside of them. Uh actually no. Hex is already doing that for you but if you don’t have Hex, I think that is a very important piece of the process that you would need to build into whatever agent system you’re creating.

25:42 Something that says pull me all of the conversations my users have been having and then here are some important checks that are needs going to going to need to be run on is the agent giving a good answer, are users kind of responding with frustrated messages, is the agent responding with uncertainty, all of the things that I think we as data teams kind of become responsible for in this new world. But in this case um I asked something about uh how many orders were shipped during the previous week. This is all demo data so it got very confused and it was like I don’t know what you mean by that. Uh and so it’s telling me that I should define the workspace to standard calendar. Um and make sure that the agent can give a good answer going forward like the fiscal

26:28 calendar for example. Uh and so, I could create suggestions. I could also run evals, which is what I’ll walk through. Um and then, here are all of those different layers of context that I mentioned. Now, this is all well and good, um but that’s a lot of stuff to remember. That’s a lot of new workflows to figure out, and I enjoy working in Claude Code or Codex. I don’t want to have to go click around in a UI. Gross. Uh and I also want to like connect things that maybe don’t live in Hex to like help me inform what I should or shouldn’t be doing. Um and so, we built a agent skill for us. Uh we call it the context consultant skill, and it is going to help you curate context, find the gaps, write good evals, and why we actually built this is

27:16 like for all the for all of the enablement that I’ve run in my career, um it really boils down to like, “No, you should listen to me cuz it’s important.” Um and hopefully, you’ll remember it when it becomes important at that moment in your life. Uh what I love most about agent skills is they truly let you like “I’ll get to it when I need it, but it won’t like the fidelity of the information that you’re telling me is not lost because the agent has nothing better to do but remember and read the read me in the GitHub.”

27:48 So, uh that is why we built this. And if you would like to follow along, if you have like a Claude Code session, even if you don’t have Hex installed, your agent might get a little confused, but there’s a lot of just like good best practices baked into the skill that I’ll go through, um and I’ll drop the install command here. If you want to kind of like install it, mess around with it as I’m walking through it on my desktop. Before we do that, I’ll jump into the actual like GitHub itself just to kind of show you like what’s in it.

28:24 Um so, it ultimately is going to help you say, “I I have all these suggestions. What do I do with them?” Users are getting bad answers, how do I fix it? I think I need to write a guide, but I’m not sure what it needs to look like. I’ve never run an eval before, how should I think about it? All of that stuff is baked into the skill, which is why it’s a consultant, not like a workflow management tool. It doesn’t have the you should do step 1 2 3 4 5s type of instructions in it.

28:57 What it’s got is encoded best practices and examples and knowledge that we’ve accumulated working with our customers that you can then leverage for whatever uh use case you might have. And so again, don’t think of this is like it’s going to run a process for me, it’s going to build a workflow, it’s more about um let’s understand what you need to try and do and then let’s find the right solution that fits you. Uh and the reason for that is everything I just talked about like context isn’t one thing, context doesn’t look the same at every customer. If anybody’s telling you that context has to be one two three things in this order in this way, um I don’t I don’t think they maybe have like an appreciation of how nuanced that can be.

29:43 Um and so we built this con- consultant skill. Um let’s see, where is the copy and paste text to add to Claude? If you just drop the NPX skills add, it should go ahead and do that. Um but I can also just send you a link to this GitHub page as well. And I’ve got a few other install commands for like the marketplace for Claude code um and codex. Cool. And so inside of it, we’ve got a bunch of stuff, but m- most importantly, it has two sub agents with two jobs.

30:19 One sub agent is our context author or context architect and it’s going to help you build the context that you need. So write guides, which table should be endorsed, how could I update warehouse descriptions, uh semantic models, etc. Uh and then the second one is our eval engineer that’s going to help you write evals, how to run them, how to understand them, uh, how to put them into your workflow. All the other stuff inside of it is really around like just all of that knowledge and best practices that I’ve mentioned before and um the other thing that I learned a ton when building this is uh, hyperlinks are my friend. So, I’m linking out to our learn docs and guides and sources instead of um hardcoding the information here because our product is changing very often.

31:17 Yes. Okay, awesome. Thank you, Shane. [cough and clears throat] Um great. I don’t know if we wanted to spend too much more time in here. I think I’ll just jump into workflow if that’s cool with you guys unless just really jazzed about um a GitHub repo. Let’s see Let’s see that work. Uh, so let’s change over to Claude Code. So, you guys should see my Claude Code session now. Um so, I’ve just opened a fresh instance. I asked it what kind of things can I do with my contacts in Hex. I’ve downloaded the skill.

31:51 Um and it’s going to list out all of the different work that we can do. So, let’s take our um context management life cycle loop and let’s run through it together one quick time. Just so you can get a sense of how that would work in something like this. Uh, so if you remember the first part of that loop is what questions are users asking. Um if you don’t have Hex, that’s pulling all of the logs potentially from your different agent conversations across your organization or even just you individually if you’re a single kind of player mode and you aren’t quite sure which context is going to help improve your single experience.

32:32 But if you’re in a large organization, it’s going to look like that. In Hex, we’ve got a little bit of a cheat because we’ve got suggestions, which are effectively questions clustered based on how well the agent answered. So, I’m going to ask it to do that. I’m going to say, “Give me a list of the top say three suggestions based on how many um examples they have.” And we say please, just in case. You never know. Okay. So, um The other thing, sorry, I I breezed over this. So, this is all done via the Hex CLI.

33:15 So, if you do not have the Hex CLI installed, once you kind of get your free Hex trial, if you’re joining us for our workshop uh in a few weeks, uh definitely install the Hex CLI. It’s going to let you do all of this virtually headless. So, I won’t need to go into the Hex UI for pretty much anything at this point going forward because I can pull suggestions from here, I can author contexts, publish, and I can run evals all from the CLI. So, went into my workspace, it grabbed me my top three suggestions. One of them was product-level inventory. Uh it had 15 examples. So, this is really nice because it’s going to let you like size the impact of the thing that you’re trying to fix, which I think at a large organization is often like the best

34:01 lever you have of like quelling any sort of like dissent of no, this thing doesn’t work. And it’s like, “Okay, well, if 20 people have encountered it or if five people have and one of those is a CEO, we better fix it now.” And you can kind of figure all that out through here. Yeah, and if you’re not in Claude Code Desktop, that is what this is. I um I’ll be so transparent, the first time I logged into a terminal like for real for real was March of this year. So, that just goes to show how like if I can do it, so can you. Uh if I can build a agent skill and run CLI commands and do this work, anybody can.

34:43 Um I think that’s the case for so many people that come through our courses or it’s just crazy nowadays. I mean, my like my wife is in marketing and does like she’s a ceramics artist, too. And I got her into terminal like building out creating things to uh make like templates for her ceramics. Um so like yeah, it is if it feels a little daunting at first. Um you know, it takes about 15 minutes to get through some things and then anyone can do this. Absolutely. And I found that uh agents are really good teachers, as well. So, it would say things like “Would you like to bash blah blah blah blah blah blah?” And I would be like, “What is that? How do I I think I know like I know enough to be dangerous. Like help me be less

35:25 dangerous.” Um and at the top, I would kind of tell it like, “I’m a noob. Like talk to me like a noob. I’m not a sophisticated software engineer. Please go easy on me.” [snorts] Well, um yeah, Steve says he’s been using terminals for 30 years. This is what he can easily Yes. Uh it it for sure is. Um cool. Okay, so I’ve got my list here of suggestions. And now I can do something with it, right? Because I have the skill installed, it’s not just going to give me that list.

35:59 It’s also going to tell me more interesting things about this data. It’s like one and three overlaps. So, maybe I should tackle those because it’s going to kind of kill two birds with one stone with one guide change. And number two says close to my existing orders view semantic model. So, the fix might belong there instead of a guide. So, again, it’s going to tell me where I need to put that effort. It’s not just going to like spray and pray and update and fix whatever. So, um yeah, let’s sure. Let’s start with number one.

36:31 And it’s going to read the suggestions. And the way the Hex CLI works is and I think I could probably maybe open this up and show you what this looks like. So, um what it’s actually going to do is go get that suggestion. And then inside of the suggestion, we have thread IDs. Which then the agent can go and call those threads. And then actually be able to read the payload and the particular conversation that happened inside of the threads themselves. So, you’re getting like double-click layer of information and data into the agent context so that it can give you a really well like well-formed um answer versus just reading like an aggregate data set that it can miss kind of that nuance that I think’s really important here.

37:21 [cough and clears throat] Uh Antoine, correct. So, these suggestions in in this example are Hex-generated suggestions based on real user conversations and like frustration. Uh if you didn’t have Hex, the process of actually kind of mining and aggregating all of that would be something that you would need to own to ultimately end up with here here’s a list of things that I need to go take a look at. And then the skill could help you kind of suss out what to do about those things. Cool. Um so it looked at changes and inspected branches. It checked the semantic model.

38:05 So, the CLI has like a very robust set of tools and commands that it can go run to just figure out and get the agent as much information as possible, especially about like maybe a semantic project is actually a really good solve here. Let’s go look at it and make sure that it is or isn’t something that we would need. Um so it found oops, I made an error here. That’s okay. Um now it is actually going to write me my guide cuz it said, “If you update this guide, it should help close the gap.” So, it added 59 lines, um created a new guide called product inventory metrics.

38:45 Um it looked through some of my data inside of hex. Um, and it also created an eval suite to test this guide against. So, here’s what it’s putting. Um, it’s going to fork that context. So, in hex we have the ability to we call it preview, but effectively think of it as you’re branching the main context into a new, um, branch of context. And then it’s going to run the eval on that branch. And then you’re going to figure out, okay, well did it pass the eval? If so, then go ahead and merge it.

39:23 Um, and then here is it creating that context preview. And then, um, little bit about like how that stuff works here if you’re interested. We let you fork guides, which in this case is what we’re doing. We also let you fork semantic projects. So, if you want to play around with a new semantic model or changing your semantic model slightly and then running a quick eval on it, you can do that as well. In this case, we didn’t do that, so that’s why that’s an empty square bracket. Um, so now we’re waiting for the eval to run.

39:58 And if I actually switch, I think if I switch back over to hex, we can see that eval being run. So, let me jump back in here really quick. Refresh this. Uh, I guess not. Maybe only after it’s done running. Okay, that’s fine. Sometimes it did, sometimes it didn’t. It’s the joy of, uh, working in a highly, uh, evolving product for sure. Um, and while this is running, let me talk a little bit about our evals if you are kind of unfamiliar or if evals are kind of like a net new thing that you’re interested in learning more about.

40:42 Um, some of this may be hex specific jargon and terminology, but in general evals are like a test you’re going to give your agent. You give it a question, and then you set some sort of grading on when the agent responds with an answer, how should it have answered? Did it need to give a specific number? Should it have used a particular kind of context? Does it need to have certain assumptions that it understands based on that context? And so, when we let you build e-vals in Hex, effectively what we will let you do is set the model that you want to e-val against. In this case, our agent chose Claude Opus 5 because it’s the default in my workspace.

41:25 Um and then we have what are called cases, which is basically like the questions themselves. And then inside of those cases, they have prompts. So, the prompt is the question that was sent with that e-val. So, I’m testing with this new guide change that happened, what’s the sell-through rate by product? Because that guide is meant to help answer that question. I’m going to give the agent three times to attempt it, so I can get a baseline uh pass-fail rate. It’s going to use this particular data connection, and then I have what are called rubrics, which is the way that um the answer is going to be judged.

42:09 And I’ll just pause here. I didn’t write any of this. This is the context consultant doing its thing, which is like sick. And if you are truly like, I don’t even know how to get started, this is a great way to do it. Um and so in my rubrics, we have three kinds in Hex. This one chose to do what we call judge final answer, which is basically looking at the final response from the agent, and then using LLM as a judge. So, we have like a a small model that we’ll run this through as a judge.

42:41 And based on this criteria, so it’s saying, does the final answer avoid presenting any sell-through rate, units remaining figure, or per product inventory as a valid result? So on and so forth. Like basically it’s saying that like fact order inventory is a bad table and if you use it, you should get like zero matches. So this is actually like a little bit of a tricky one. Um and so that’s judging the final answer. Then I have another prompt. What are our top five selling best products? Same idea. In this case though, I’m judging the entire thread.

43:17 So if there’s possible back and forth between the agent, um it can judge the whole thing. It’s asking, “Did the agent rank products by completed line items?” And then I can also judge the final answer. Does it present products as IDs and say that product names categories are not available? Cuz again, the table’s bad. There’s nothing in the table. It’s a junk table. Um and so that is the eval that it decided to write in order to test if this guide is useful. And so now it ran. We passed three out of three on all of our cases.

43:50 Um and so it’s also saying I didn’t run these without the guide, so there’s not like an AB test situation here. So it just says, “Hey, with these guides, these evals passed 100% on all cases.” Um so now I can open a PR because this context lives in GitHub. It’ll write me my PR and then I can merge it. And now I have closed this gap of agent confusion around product inventory questions. And that’s the workflow. And you just like keep doing that or find like a You could go even like kind of zoom out. Like remember the agent suggested that one and two could actually probably be solved by the same thing. Tackle both of those together.

44:34 And then just kind of keep going with it. And I know in this case it didn’t it didn’t do the before and after, but I assume when you’re making these changes you could you could run it to to look at the before and after to see um Mhm. See if there’s an improvement in the change, too. Yeah, I think that’s because this guide is minute new. Um, I think if there was a world where it was like, “Hey, let’s um, cool. Can we test some suggestions with existing context and do a sort of before after thing?

45:16 Um, and then I’ll help find those in my suggestions assuming there are some. Very cool. Um, cool. I think I see a couple of questions. Um, Antoine says, “Would you be able to share more about how it defines what to test within that eval? Would it be a bunch of analytical questions based on the new metric or definition that was created in the context?” Um, I think it just depends on what is the gap and what are you trying to solve for. If the agent is just like fundamentally getting the question wrong, like revenue is a hundred million, but the agent keeps saying it’s eighty, then it will do a numeric rubric, which is the one that I didn’t talk about. So, we have numeric rubrics that let you put reference sequel that the agent will run to verify the

46:02 number matches across the two. Um, and all of that, like when to use what uh, knowledge is baked into the skill either inside of the context um, architect sub agent, the eval sub agent, and the the documentation that’s linked in there. Um, do you always never sometimes read these evals to know what’s being tested? I pretty much always read them at least like the first couple of loops, and if I think they’re bad or they’re lame, I’ll tell the agent to fix them and then remember that for next time. Um, because once you download the skill, it’s yours. So, if you want to give it more specific instructions about how to write the evals, what’s the mix of rubrics that you want to use, do that.

46:52 Update that skill and make it your own. This is is much as a starting point. Wait. Um I thought I saw some more questions. I must have been imagining them. That’s okay. And there was a question around um in terms of like using for this space is this for just for like I I know we’re kind of looking at like sales marketing kind of examples, but could you use it for like law firms or for other Absolutely. Whatever data sets you have, the the sample data sets that I have just happens to be e-commerce.

47:27 Um because it’s easy to model and easy to understand. Cool. Um So, let’s see what it decided to do. I think it is pulling evidence for suggestions two and three. Okay, so it’s writing a case for number two. Interesting. Okay. Cool. I’m wrong. [snorts] Um So, yeah. And it’s just that kind of over and over and over again. Um I could start a new session while we’re waiting on this one, for example. Um let’s do this guy. And let’s maybe instead look at like how should I be How should I write a guide?

48:17 What even is that? And if you I think we start maybe intentionally or unintentionally from a place of like everybody knows what they’re supposed to be doing. This is how you ask the agent to do it for you. What I also really wanted to make clear with this skill is like if you know nothing, if you are a complete novice and starting from the very ground floor of what even is this stuff, this is also baked in there because I think there’s so much opportunity for people to just like be given a little bit of grace and assume that they don’t read the AI newsletters every morning and listen to the AI podcasts and just have been like, “Oh, I don’t know.” doing their jobs, raising their kids, walking their dogs, whatever. Um so also use that even again, even if you don’t have

49:06 Hex, install the skill and ask it all the dumb questions. It will help you and give you uh information like this when when to use what, where it’s referenced, what is necessary. And these things like um in Hex we have this front matter inside of our guides. Basically think of it as like metadata for a markdown file that is like just best practice anywhere. So if you’re managing a bunch of markdown files, having front matter that has a name and description that an agent can quickly read for retrieval is really useful.

49:40 Uh so I don’t want you to think that like all of this is just you know, Hex specific necessarily. Yeah, I I really appreciate uh personally all of the research and like thought leadership that’s coming out of Hex just in general cuz I know like other companies that have been solving kind of analytics for for decades that we we’ve talked to and used their products or or even the new stuff with like open AI and traffics like data agents and and dashboards. Um there’s inevitably like the question of like oh, how do you know what how do you know what’s right? How like I understand what you give it give it the company context like what does that even mean? Like how do I do that and how do I evaluate it?

50:20 And it’s just so cool to have this resource um that like no matter what you’re what you’re using like this is like extremely applicable. That that’s the goal for sure. I think there’s enough um platitudes out there. Like let’s let’s get to the here’s what matters. Um and I mentioned before you can see evals running in the UI. So this is the one that’s currently running um and like we’re already failing some of these attempts with some suggested changes that it made um in this like next round to kind of like demonstrate the split AB test.

51:00 Um so yeah, so you can kind of see this in real time as well. And then as you’re running more and more evals um, against unpublished contexts or maybe even your published contexts once you have it, um, you can start to get like a nice kind of pulse on how frequently these are failing or succeeding, etc. Um, and then if I open one of these just as an example, let’s see. Like here’s the one with one of those numeric rubrics. You can read that here. The number was 300 3,611. Um, and it passed.

51:36 And yeah, like so that’s how you can like just kind of like manually come in and check if you don’t want to pull things via the CLI. Um, I know we’re coming up on time. There’s one question, if we’re creating customized skills to give agents business context, how do those skills scale across an organization? Can multiple agents share a centralized skill? How do you manage manage versioning dependencies and potential drift? Yeah, so this really comes down to if you are let’s say for example, you want to use the skill that I just shared and you want to make everybody on your data team and anybody responsible for managing context using that skill.

52:18 You would host it in like a central place that all of your agents are pointed to if you’ve got like an enterprise level or in Claude specifically, I’m sure Codex has kind of the same thing. I know Grok Bot does of like a marketplace for your business and it’s like just house it there and tell everybody to go install it from there and that becomes the central brain of that particular skill. Um, it gets a lot easier when you’ve got that sort of enterprise grade, of course. If you don’t, I think GitHub and like just being really um, thoughtful about how you roll out your agents becomes the more important thing.

52:58 I don’t know Shane if you have a a different take there. Yeah, same thing. I think it you know, like um, ideally once you get to this kind of enterprise level where you’re trying to scale things, you do have a tool like Hex that um you know, you’re not responsible on the data team for like building all of this like governance yourself. Um but I I can our course is um imagine to get on Hex out. That’s what we teach around like using GitHub, having some sort of a version control, having processes on your team of who owns owns what, why, and who communicates what. Um that’s a nice way to get started, I think, and then you can always transfer that over to to something else down the line if your um company is deciding, “Hey, we we want to

53:44 scale this and we want to use like a a reputable um like company like Hex to own it rather than trying to figure it all out ourselves.” Mhm. Yeah. I think the the thing I’ve heard and feel very passionate about is like a vendor should not own your context. If that vendor is the only place that you can go to get that context and use it, that’s that’s bad. Bad news bears. And so like I one thing I appreciate most about Hex is we are like not a walled garden. Like we are very magnanimous with like put it in GitHub, connect it out so side, publish it from the CLI, download it via the CLI, use your coding agents to bait, build data apps. We don’t really care. We want to like lock you into a great workflow, not like lock your data down and make it

54:36 in access- inaccessible. Yeah, it’s so important right now to have that flexibility because everyone’s like trying to figure things out. Like even at like the leading labs, right? You know, like C Allen doesn’t know what’s going to happen. We’re all like, “I kind of know how this works, but not Who knows?” Um so it is Yeah, I think not getting all locked into like a single vendor selling you like, “This is the way you have to do it with these specific steps.” Um that could change in 2 weeks. Yeah. I’ll tell you from personal experience if I can’t create an MCP connection or easily connect the thing to my coding agent, I’m not using it very much at all.

55:17 Like that’s just the reality of the situation. So, as you think about if you’re a data person on a data team supporting a business as your business users are using these things more and more, it becomes our responsibility to help them show up in the places they’re doing that work. Uh and that I think is the other important thing to consider in just making it successful at your organization. And how does the context help and follow and show up in those same places? Well, I know we’re at the top of the hour here. Rachel, I just want to thank you so much for joining us and um sharing not only like, you know, why this is all important and what the workflow looks like, but uh walking us through the tools that Hex has built like for every- everyone to

56:04 use no matter what you’re using um in terms of like your analytics, but also how it connects to Hex. Uh if for everyone else who joined us, thank you also for for spending your Friday morning or or evening with us depending on where you’re at. If you enjoyed this and you want to learn more, like the the workshop, I’ll drop the link there in chat again. That’s going to be in 2 weeks, Saturday, November 14th. It’s going to be 4 hours. I think it’s 7:00 a.m. to 11:00 a.m. Pacific. And while we’ve been kind of uh walking through things in these shorter lightning lessons the past 3 weeks we’ll be all getting hands-on and doing this ourselves uh in Hex uh in CLI uh on uh on that Saturday. And of course, like just like today, all the skills we’re going to learn there are are

56:55 generalizable to to to whatever you’re doing, but um I do think you’re going to enjoy um checking out what Hex has to offer, too. So, yeah, come and join us. It’s 25 bucks if you use that promo. If you have any questions, um just just ping me on LinkedIn, or you can email me at [email protected]. Uh, yeah. Otherwise, hope everyone enjoys their weekend. And thanks again, Rachel, for your time. This is great. Yeah, you’re all very welcome. Happy Halloween, everybody, as well. Yes, happy Halloween. Be vigilant. Just be careful out there. Be careful out there. Ghosts, uh, razor blades in candy, who knows, you know? You you got to watch your back.

57:35 Yeah. I’m going as an undocumented dataset for Halloween. It’ll be terrifying. Nice. All right. See everyone. Bye, y’all.

Free, every week

Join an upcoming free lesson.

Live on Maven. Learn AI analytics, prepare for interviews and grow your career. Bring a question from your own work.

WED DEC 9, 2026
10:00 AM PT
Set Executive Expectations for AI Analytics
Register
FRI DEC 11, 2026
12:00 PM PT
Think on the Spot in Analytics Case Interviews with AI
Register
FRI DEC 18, 2026
12:00 PM PT
Climb from Senior to Staff and Principal in Data with AI
Register
WED DEC 23, 2026
10:00 AM PT
Experimentation 101: Run an A/B Test with AI
Register
WED DEC 23, 2026
12:00 PM PT
Pass the New AI Round in Data Science Interviews
Register
See all upcoming lessons →

Go further with a course.

AI Analytics for Everyone
For people who decide with data · 5 weeks
$1,800 · Jan 25 · ★ 4.9/5
Enroll on Maven
Agentic Analytics: Build an AI Analyst
For people who build the tools · 5 weeks
$2,500 · Jan 11 · ★ 4.9/5
Enroll on Maven
Enterprise AI Analytics for Data Leaders
For data leaders · 3 hours
$380 · Dec 12, 2026 · 11am–2pm Eastern
Enroll on Maven
Or join an upcoming free lesson. Register free